]> git.ipfire.org Git - thirdparty/kernel/stable.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 Slaby <jslaby@suse.cz>
Thu, 13 Nov 2014 18:02:52 +0000 (19:02 +0100)
commit12127f7f56a5776d9e20bcc5bae0fcc95870af6b
tree460e50a560e023da8cc138094882326782e50b29
parent972b69a50ed38071d5340999089046a9ec04b0e8
HID: usbhid: enable always-poll quirk for Elan Touchscreen

commit bfe3c873e978d78b542a5852575dd74f4d1a5838 upstream.

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/hid/hid-ids.h
drivers/hid/usbhid/hid-quirks.c