]> git.karo-electronics.de Git - karo-tx-linux.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 17:00:06 +0000 (09:00 -0800)
commit18ef8896c95ff963cdb3f514d5d5c7f55653cb64
tree97a764d65e2a3457e31702b9dfb83a3e73075ca1
parent4c4986daaa0063e39ce957bfe440e2ed5b88ed7b
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