projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99a2b98
)
modify error for no key define in init.rk29board.rc
author
ywj
<ywj@rockchip.com>
Fri, 7 Dec 2012 10:03:51 +0000
(18:03 +0800)
committer
ywj
<ywj@rockchip.com>
Fri, 7 Dec 2012 10:03:51 +0000
(18:03 +0800)
drivers/input/keyboard/rk29_keys.c
patch
|
blob
|
history
diff --git
a/drivers/input/keyboard/rk29_keys.c
b/drivers/input/keyboard/rk29_keys.c
index 1eca1d6a81355e4701cc5c8a0789a58c32d02cae..60066f207816027bb70afe66c1d0234a1cf6323f 100755
(executable)
--- a/
drivers/input/keyboard/rk29_keys.c
+++ b/
drivers/input/keyboard/rk29_keys.c
@@
-99,6
+99,11
@@
static ssize_t rk29key_set(struct device *dev,
{
p = strstr(buf,Arrary[i].keyArrary);
+ if(p==0)
+ {
+ printk(" rk29key_set p == 0 error ...............\n");
+ return 0;
+ }
start = strcspn(p,":");