]> git.sur5r.net Git - u-boot/commit
input: Call keyboard's update_leds() method when the LEDs change
authorBin Meng <bmeng.cn@gmail.com>
Thu, 12 Nov 2015 13:33:02 +0000 (05:33 -0800)
committerSimon Glass <sjg@chromium.org>
Fri, 20 Nov 2015 03:13:41 +0000 (20:13 -0700)
commitcd810918fd638df4e91f232ec889896c6155440a
tree2e20db88ed9c5f73a863154c1470d548e4e08ee9
parent533c81a94988362fe7379bebd13ee0f701b38454
input: Call keyboard's update_leds() method when the LEDs change

We should request keyboard to turn on/off its LED when detecting
any changes on the LEDs.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Minor changes to allow this to build without CONFIG_DM_KEYBOARD:
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/input/input.c