]> git.baikalelectronics.ru Git - kernel.git/commit
Input: gpio_keys - report initial state when opening the device
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 24 Nov 2012 09:22:43 +0000 (01:22 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 28 Nov 2012 06:40:01 +0000 (22:40 -0800)
commit45e060a011a3ea193e5c6dea6e9c0161632f08e4
tree636618a36d9e172f24958a53e6aaa87b75a1e639
parenta2abf34395979deccd2c06ff62312dbd2006af13
Input: gpio_keys - report initial state when opening the device

Instead of reporting the initial stage when the device is registered we
should do it when the device is opened (so there are users).

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/gpio_keys.c