commit | a3088abc68f79ac30e6e8ccb07a15c8093e39684 | [log] [tgz] |
---|---|---|
author | Jiri Kosina <jkosina@suse.cz> | Tue Nov 17 00:24:14 2015 +0100 |
committer | Jiri Kosina <jkosina@suse.cz> | Tue Nov 17 00:24:14 2015 +0100 |
tree | d0d8c0bfaf060b2c5b34792e8df5abe3303b5a90 | |
parent | ff38e82931aeaa339d6bf4a9980e011cbfd14927 [diff] |
HID: wacom: fixup quirks setup for WACOM_DEVICETYPE_PAD Given that INTUOSHT < BAMBOO_PT features->type >= INTUOSHT || features->type <= BAMBOO_PT condition is always true, and therefore device_type is under certain circumstances wrongly set with WACOM_DEVICETYPE_PAD bit set. Fix the condition so that it actually represents the range as intended. Reported-by: David Binderman <dcb314@hotmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>