mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
Input: Handle EV_PWR type of input caps in input_set_capability.
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
parent
35baef2afb
commit
22d1c398e8
1 changed files with 4 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue