]> git.baikalelectronics.ru Git - kernel.git/commit
Input: i8042 - signal wakeup from atkbd/psmouse
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 26 Mar 2019 21:27:42 +0000 (14:27 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 4 Apr 2019 18:51:26 +0000 (11:51 -0700)
commitdb1dd78afe080fcb0201c9a92ecd7eacec014eb3
treec2efc3951d135dab2c6dc865513ffeb992d11b5e
parent269a6684c27515f5c2a9c7af3970c6b15dc47dc0
Input: i8042 - signal wakeup from atkbd/psmouse

Instead of signalling wakeup directly from i8042, let psmouse and atkbd
drivers execute basic protocol handling and only then signal wakeup
condition. This solves the issue where we increment wakeup counter
simply because we are getting responses from keyboard/mouse to the
commands we ourselves send to them as part of suspend transition.

Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/atkbd.c
drivers/input/mouse/psmouse-base.c
drivers/input/serio/i8042.c