aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Gerecke <killertofu@gmail.com>2015-12-04 17:45:27 -0500
committerJiri Kosina <jkosina@suse.cz>2015-12-08 09:12:00 -0500
commitbe853fd1c6a5fe127af3392157dfe95e9712a575 (patch)
tree79d6bc47ebbe171f5a9ec014fc64496b32bd6966
parent061099936a724cdd8dd0d69deea5b064b4f7122b (diff)
HID: wacom: Apply lowres quirk to BAMBOO_TOUCH devices
When splitting the touch-only "BAMBOO_TOUCH" type out of the existing "BAMBOO_PT" type in 3b164a00, the lowres quirk was not updated so that it would continue to apply to these devices (effectively only the 0xD0). The absence of this quirk does not significantly impact usability, but is a correctness issue nonetheless. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--drivers/hid/wacom_wac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/wacom_wac.c b/drivers/hid/wacom_wac.c
index 3953416ff753..bec23001c219 100644
--- a/drivers/hid/wacom_wac.c
+++ b/drivers/hid/wacom_wac.c
@@ -2421,7 +2421,7 @@ void wacom_setup_device_quirks(struct wacom *wacom)
2421 features->quirks |= WACOM_QUIRK_BATTERY; 2421 features->quirks |= WACOM_QUIRK_BATTERY;
2422 2422
2423 /* quirk for bamboo touch with 2 low res touches */ 2423 /* quirk for bamboo touch with 2 low res touches */
2424 if (features->type == BAMBOO_PT && 2424 if ((features->type == BAMBOO_PT || features->type == BAMBOO_TOUCH) &&
2425 features->pktlen == WACOM_PKGLEN_BBTOUCH) { 2425 features->pktlen == WACOM_PKGLEN_BBTOUCH) {
2426 features->x_max <<= 5; 2426 features->x_max <<= 5;
2427 features->y_max <<= 5; 2427 features->y_max <<= 5;