diff options
author | Ping Cheng <pinglinux@gmail.com> | 2021-03-11 22:30:09 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2021-03-16 17:41:20 +0300 |
commit | 276559d8d02c2709281578976ca2f53bc62063d4 (patch) | |
tree | 5b798531945b5e2ff6a038b52f5a213b2a8ed45b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 25615e454a0ec198254f17d2ed79b607cb755d0e (diff) | |
download | linux-276559d8d02c2709281578976ca2f53bc62063d4.tar.xz |
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: 6ecfe51b4082 ("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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions