diff options
Diffstat (limited to 'drivers/input/input.c')
| -rw-r--r-- | drivers/input/input.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c index 307c7b5c2b33..a0be978501ff 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c | |||
| @@ -235,6 +235,10 @@ static void input_handle_event(struct input_dev *dev, | |||
| 235 | if (value >= 0) | 235 | if (value >= 0) |
| 236 | disposition = INPUT_PASS_TO_ALL; | 236 | disposition = INPUT_PASS_TO_ALL; |
| 237 | break; | 237 | break; |
| 238 | |||
| 239 | case EV_PWR: | ||
| 240 | disposition = INPUT_PASS_TO_ALL; | ||
| 241 | break; | ||
| 238 | } | 242 | } |
| 239 | 243 | ||
| 240 | if (type != EV_SYN) | 244 | if (type != EV_SYN) |
| @@ -1266,6 +1270,10 @@ void input_set_capability(struct input_dev *dev, unsigned int type, unsigned int | |||
| 1266 | __set_bit(code, dev->ffbit); | 1270 | __set_bit(code, dev->ffbit); |
| 1267 | break; | 1271 | break; |
| 1268 | 1272 | ||
| 1273 | case EV_PWR: | ||
| 1274 | /* do nothing */ | ||
| 1275 | break; | ||
| 1276 | |||
| 1269 | default: | 1277 | default: |
| 1270 | printk(KERN_ERR | 1278 | printk(KERN_ERR |
| 1271 | "input_set_capability: unknown type %u (code %u)\n", | 1279 | "input_set_capability: unknown type %u (code %u)\n", |
