summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorPing Cheng <pinglinux@gmail.com>2021-03-11 11:30:09 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-28 12:08:41 +0200
commit49d6cb80c6b6b4acf91825c0a2dde4d440846cac (patch)
tree92ebe10f8112a01bf5a6f314abfd0467cf8de0bf /fs
parentc2d754be1ebc1ddd9b65e90d7cde254dd4b60171 (diff)
HID: wacom: set EV_KEY and EV_ABS only for non-HID_GENERIC type of devices
commit 276559d8d02c2709281578976ca2f53bc62063d4 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions