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 <redacted>
---
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