projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35baef2
)
Input: Handle EV_PWR type of input caps in input_set_capability.
author
Dmitry Baryshkov
<dbaryshkov@gmail.com>
Fri, 14 Dec 2007 06:21:03 +0000
(
01:21
-0500)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Fri, 14 Dec 2007 06:21:03 +0000
(
01:21
-0500)
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/input.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/input/input.c
b/drivers/input/input.c
index 307c7b5c2b33a59fa33825523cca639af4f4ccd2..c0837d3920570141d6111576cfea2703bbd535d2 100644
(file)
--- a/
drivers/input/input.c
+++ b/
drivers/input/input.c
@@
-1266,6
+1266,10
@@
void input_set_capability(struct input_dev *dev, unsigned int type, unsigned int
__set_bit(code, dev->ffbit);
break;
+ case EV_PWR:
+ /* do nothing */
+ break;
+
default:
printk(KERN_ERR
"input_set_capability: unknown type %u (code %u)\n",