]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit5b76d7b4cd965a84d922f303fe51a49cca89f9bb
tree636618a36d9e172f24958a53e6aaa87b75a1e639
parenta57da34795452bbe44b55e2b69c3ab6b117cc4b4
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