Input: i8042 - fix KBC jam during hibernate
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Wed, 17 Feb 2010 20:17:33 +0000 (12:17 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 18 Feb 2010 10:07:34 +0000 (02:07 -0800)
commitc2d1a2a11b9b29c3be1dd781dc88518ffab8d4be
treeb0362e1c489d5e26d29437ea017d0bbc54567638
parenta9f0c381973097462d9688dc26fe66f4f020502e
Input: i8042 - fix KBC jam during hibernate

633aae2 "Input: i8042 - switch to using dev_pm_ops" removed handling
for PMSG_THAW, since we do not need to do anything during freeze and
thus it was thougt that thaw is not needed as well. However, there is
a period when interrupts are kept off, and if key happens to be pressed
during that time KBC becomes jammed. To avoid the jam we simply need
to poll KBC once during thaw.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/serio/i8042.c