]> git.baikalelectronics.ru Git - kernel.git/commit
Input: make serio and gameport more swsusp friendly
authorDmitry Torokhov <dtor_core@ameritech.net>
Sun, 20 Nov 2005 05:56:43 +0000 (00:56 -0500)
committerDmitry Torokhov <dtor_core@ameritech.net>
Sun, 20 Nov 2005 05:56:43 +0000 (00:56 -0500)
commit3eb878920993506c01189e3a416ebb3f567de3f3
treef3b2a72384a1b59ea38b201bbf2f35c306941b4b
parent8c98d43b1991a937b1ba8706e8830e39c6696076
Input: make serio and gameport more swsusp friendly

kseriod and kgameportd used to process all pending events before
checking for freeze condition. This may cause swsusp to time out
while stopping tasks when resuming. Switch to process events one
by one to check freeze status more often.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/gameport/gameport.c
drivers/input/serio/serio.c