]> git.baikalelectronics.ru Git - kernel.git/commit
HID: multitouch: fix handling of buggy reports descriptors for Dell ST2220T
authorBenjamin Tissoires <benjamin.tissoires@enac.fr>
Tue, 6 Mar 2012 16:57:03 +0000 (17:57 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 12 Mar 2012 10:23:55 +0000 (11:23 +0100)
commit0cae944b9589e856801a429ff71cd456f4d62562
treefa779d1f7d4ffd4f823de441de09464b5752f51e
parentf4bced39650c1c76fc23913dfe426730c2b9ebeb
HID: multitouch: fix handling of buggy reports descriptors for Dell ST2220T

LG multitouch panels, such as the one found in Dell ST2220T, has buggy
reports descriptors. With the previous implementation, it was impossible
to rely on the reports descriptors to determine how the different
touches are emitted from the device.

This patch changes the splitting of the different touches in the report
in a more robust way.

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