]> git.baikalelectronics.ru Git - kernel.git/commit
HID: multitouch: move ALWAYS_VALID quirk check
authorBenjamin Tissoires <benjamin.tissoires@gmail.com>
Wed, 14 Nov 2012 15:59:20 +0000 (16:59 +0100)
committerJiri Kosina <jkosina@suse.cz>
Thu, 15 Nov 2012 09:09:48 +0000 (10:09 +0100)
commitf2fe2ba62c1e8885de613922824f6264549c3c69
treee3682757e5517c37eef752dc14569135eb9aa6d0
parent8a63f7f86161ab050c4e91b88eab18f8b71facff
HID: multitouch: move ALWAYS_VALID quirk check

Win 8 device specification changed the requirements for the hid usages
of the multitouch devices. Now InRange is optional and must be only
used when the device supports hovering.

This ensures that the quirk ALWAYS_VALID is taken into account and
also ensures its precedence over the other VALID* quirks.

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