Input: force LED reset on resume
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 13 Nov 2009 07:19:05 +0000 (23:19 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 13 Nov 2009 07:20:35 +0000 (23:20 -0800)
commit3cc96351799d3d82c3809aa6970ef537bc1af553
treeec2f833bfa9d112025b53e5d66b8ac95dec3d64d
parentbf3204cbff7d2606e758afb0994e8da6ae1c6c26
Input: force LED reset on resume

We should be sending EV_LED event down to drivers upon resume even in cases
when in-kernel state of the LED is off since device could come up with some
leds turned on.

Reported-and-tested-by: Mikko Vinni <mmvinni@yahoo.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/input.c