projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91f8154
)
input: Save keyboard's LED state to correct place
author
Bin Meng
<bmeng.cn@gmail.com>
Thu, 12 Nov 2015 13:33:01 +0000
(
05:33
-0800)
committer
Simon Glass
<sjg@chromium.org>
Fri, 20 Nov 2015 03:13:41 +0000
(20:13 -0700)
Currently keyboard's LED state is wrongly saved to config->leds in
process_modifier(). It should really be config->flags.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/input/input.c
patch
|
blob
|
history
diff --git
a/drivers/input/input.c
b/drivers/input/input.c
index 954ecec595efc0be4a3c82d2492ed8628c0870a3..575f4b66f0ad2aef328dbcd604140983bcd9ccc3 100644
(file)
--- a/
drivers/input/input.c
+++ b/
drivers/input/input.c
@@
-267,7
+267,7
@@
static struct input_key_xlate *process_modifier(struct input_config *config,
if (flip != -1) {
int leds = 0;
- config->
led
s ^= flip;
+ config->
flag
s ^= flip;
if (config->flags & FLAG_NUM_LOCK)
leds |= INPUT_LED_NUM;
if (config->flags & FLAG_CAPS_LOCK)