HID: multitouch: change touch sensor detection in mt_input_configured()
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Fri, 22 Mar 2013 17:38:31 +0000 (18:38 +0100)
committerJiri Kosina <jkosina@suse.cz>
Wed, 27 Mar 2013 13:02:46 +0000 (14:02 +0100)
commit5b6498a1c89be9f3a545ab163e33e5abf45493e9
treec4fe855c2d077199fca75a685e07c38bfa15048d
parent6f492f28779d12f7d76555e76ab49120ec01bca6
HID: multitouch: change touch sensor detection in mt_input_configured()

To implement different methods for pen and touch, the previous
implementation has to be reworked.

This detection of the input attached to the touch sensor is the same
than the one used in mt_report().

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