]> 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)
commitca2623257d7d342f891b0f952435be6299a79373
tree636618a36d9e172f24958a53e6aaa87b75a1e639
parent806e5368122e07fa02947930fa58ec54d322de08
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