]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Nov 2014 18:10:35 +0000 (10:10 -0800)
commit6f37f1996e2e86fb60f2fd8c182e74bdf05e56e7
tree4fee6a618d17b9b0c901f33d751e42281123a29a
parent79bdacac68dec2118bfe4bc08ff63755d95b2b4d
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hid/hid-ids.h
drivers/hid/usbhid/hid-quirks.c