[PATCH] Input: synaptics - give touchpad 1 second to settle after S2R

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Since we are resuming now in 0.5 Seconds, we have to give the touchpad
some time to settle before issuing a psmouse_reset.

This fixes the endless reconnect / resync cycle after resuming from S2R.

Signed-off-by: Ahmet Inan <ainan@xxxxxxxxxxxxxxxxxxxxxxxxxx>
---
 drivers/input/mouse/synaptics.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c
index c5ec703..059fca0 100644
--- a/drivers/input/mouse/synaptics.c
+++ b/drivers/input/mouse/synaptics.c
@@ -1473,6 +1473,7 @@ static int synaptics_reconnect(struct psmouse *psmouse)
 	int retry = 0;
 	int error;
 
+	ssleep(1);
 	do {
 		psmouse_reset(psmouse);
 		if (retry) {
-- 
1.8.5.5

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux