Re: [PATCH] HID: wacom: set EV_KEY and EV_ABS only for non-HID_GENERIC type of devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
> Reviewed-by: Jason Gerecke <Jason.Gerecke@xxxxxxxxx>
> Tested-by: Juan Garrido <Juan.Garrido@xxxxxxxxx>
> CC: stable@xxxxxxxxxxxxxxx

Applied, thanks Ping.

-- 
Jiri Kosina
SUSE Labs




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux