projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b06824c
)
[SUNKBD]: Fix sunkbd_enable(sunkbd, 0); obvious.
author
Fabrice Knevez
<nuxdoors@cegetel.net>
Thu, 14 Dec 2006 23:20:29 +0000
(15:20 -0800)
committer
David S. Miller
<davem@sunset.davemloft.net>
Sun, 17 Dec 2006 22:06:58 +0000
(14:06 -0800)
"sunkbd_enable(sunkbd, 0);" has no effect. Adding "sunkbd->enabled =
enable" in sunkbd_enable (obvious)
Signed-off-by: Fabrice Knevez <nuxdoors@cegetel.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/input/keyboard/sunkbd.c
patch
|
blob
|
history
diff --git
a/drivers/input/keyboard/sunkbd.c
b/drivers/input/keyboard/sunkbd.c
index 3826db9403e633950c941fda8517bfc6b4c009e9..cc02383664140e1a0ff5ce38d05045af388c1598 100644
(file)
--- a/
drivers/input/keyboard/sunkbd.c
+++ b/
drivers/input/keyboard/sunkbd.c
@@
-225,7
+225,7
@@
static void sunkbd_reinit(struct work_struct *work)
static void sunkbd_enable(struct sunkbd *sunkbd, int enable)
{
serio_pause_rx(sunkbd->serio);
- sunkbd->enabled =
1
;
+ sunkbd->enabled =
enable
;
serio_continue_rx(sunkbd->serio);
}