Commit 276559d
HID: wacom: set EV_KEY and EV_ABS only for non-HID_GENERIC type of devices
Valid HID_GENERIC type of devices set EV_KEY and EV_ABS by wacom_map_usage.
When *_input_capabilities are reached, those devices should already have
their proper EV_* set. EV_KEY and EV_ABS only need to be set for
non-HID_GENERIC type of devices in *_input_capabilities.
Devices that don't support HID descitoprs will pass back to hid-input for
registration without being accidentally rejected by the introduction of
patch: "Input: refuse to register absolute devices without absinfo"
Fixes: 6ecfe51 ("Input: refuse to register absolute devices without absinfo")
Signed-off-by: Ping Cheng <ping.cheng@wacom.com>
Reviewed-by: Jason Gerecke <Jason.Gerecke@wacom.com>
Tested-by: Juan Garrido <Juan.Garrido@wacom.com>
CC: stable@vger.kernel.org
Signed-off-by: Jiri Kosina <jkosina@suse.cz>1 parent 25615e4 commit 276559d
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3574 | 3574 | | |
3575 | 3575 | | |
3576 | 3576 | | |
3577 | | - | |
3578 | | - | |
3579 | 3577 | | |
3580 | 3578 | | |
3581 | 3579 | | |
| |||
3590 | 3588 | | |
3591 | 3589 | | |
3592 | 3590 | | |
| 3591 | + | |
3593 | 3592 | | |
3594 | 3593 | | |
3595 | 3594 | | |
| |||
3742 | 3741 | | |
3743 | 3742 | | |
3744 | 3743 | | |
3745 | | - | |
3746 | | - | |
3747 | 3744 | | |
3748 | 3745 | | |
3749 | 3746 | | |
| |||
3756 | 3753 | | |
3757 | 3754 | | |
3758 | 3755 | | |
| 3756 | + | |
3759 | 3757 | | |
3760 | 3758 | | |
3761 | 3759 | | |
| |||
0 commit comments