]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit856af798f5c5a982a03d2f3f56ea80aa50788598
treeb0362e1c489d5e26d29437ea017d0bbc54567638
parent22fd66e072983b0c17a64b27a2aec071052269fb
Input: i8042 - fix KBC jam during hibernate

a9fa016 "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