Commit f5af7c4c authored by Arief Mulya Utama's avatar Arief Mulya Utama Committed by Dmitry Torokhov

[PATCH] psmouse pm resume fix

I just want to share a little change that I've did to psmouse_pm_callback()
which without this, my synaptics touchpad would prevent my laptop (IBM
Thinkpad T30) from suspending.
parent 39e00ca1
......@@ -533,9 +533,10 @@ static int psmouse_pm_callback(struct pm_dev *dev, pm_request_t request, void *d
{
struct psmouse *psmouse = dev->data;
psmouse->state = PSMOUSE_IGNORE;
serio_reconnect(psmouse->serio);
if (request == PM_RESUME) {
psmouse->state = PSMOUSE_IGNORE;
serio_reconnect(psmouse->serio);
}
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment