]> git.baikalelectronics.ru Git - kernel.git/commit
HID: usbhid: enable always-poll quirk for Elan Touchscreen
authorJohan Hovold <johan@kernel.org>
Fri, 5 Sep 2014 16:08:48 +0000 (18:08 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 8 Sep 2014 07:29:16 +0000 (09:29 +0200)
commit406db700ee84cc872076369653be0737a5fc7a0a
tree7ad90f49a0e2aa15628ba8716655b8a980315e59
parentdce6a5f7a6d13d1fb183ed4278b543c8f181a6d1
HID: usbhid: enable always-poll quirk for Elan Touchscreen

Enable the always-poll quirk for Elan Touchscreens found on some recent
Samsung laptops.

Without this quirk the device keeps disconnecting from the bus (and is
re-enumerated) unless opened (and kept open, should an input event
occur).

Note that while the device can be run-time suspended, the autosuspend
timeout must be high enough to allow the device to be polled at least
once before being suspended. Specifically, using autosuspend_delay_ms=0
will still cause the device to disconnect on input events.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-ids.h
drivers/hid/usbhid/hid-quirks.c