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)
commitbfe3c873e978d78b542a5852575dd74f4d1a5838
tree7ad90f49a0e2aa15628ba8716655b8a980315e59
parent0b750b3baa2d64f1b77aecc10f20deeb28efe60d
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