HID: rmi: do not handle touchscreens through hid-rmi
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Wed, 21 May 2014 15:15:56 +0000 (11:15 -0400)
committerJiri Kosina <jkosina@suse.cz>
Thu, 22 May 2014 09:11:46 +0000 (11:11 +0200)
commitba391e5a5ac6697b8bcae8c0d01439cb765d9ef8
treecf04199bb71cffd6c38ecce910dff92d131c675b
parent876e7a8a111a4277ea35e5314a5fafc18346d3ca
HID: rmi: do not handle touchscreens through hid-rmi

Currently, hid-rmi drives every Synaptics product, but the touchscreens
on the Windows tablets should be handled through hid-multitouch.

Instead of providing a long list of PIDs, rely on the scan_report
capability to detect which should go to hid-multitouch, and which
should not go to hid-rmi.

related bug:
https://bugzilla.kernel.org/show_bug.cgi?id=74241
https://bugzilla.redhat.com/show_bug.cgi?id=1089583

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-core.c
drivers/hid/hid-rmi.c
include/linux/hid.h