Re: [PATCH] HID: wacom: set EV_KEY and EV_ABS only for non-HID_GENERIC type of devices
From: Jiri Kosina <jikos@kernel.org>
Date: 2021-03-16 14:42:41
Also in:
stable
From: Jiri Kosina <jikos@kernel.org>
Date: 2021-03-16 14:42:41
Also in:
stable
On Thu, 11 Mar 2021, Ping Cheng wrote:
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 <redacted>
CC: stable@vger.kernel.orgApplied, thanks Ping. -- Jiri Kosina SUSE Labs