mirror of
https://github.com/torvalds/linux.git
synced 2026-12-05 21:04:14 +00:00
If the device is not claimed by hid-input (i.e devices driver by userspace hiddev/hidraw-based drivers, or completely detached from HID and driver by libusb), we must not check the hid->inptus, as it is not guaranteed to be initialized, as this is performed only for devices handled by hid-input. Reported-by: Guillaume Chazarain <[email protected]> Tested-by: Guillaume Chazarain <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>