Skip to content

Commit 319645c

Browse files
committed
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
Pull HID fixes from Jiri Kosina: "Two functional fixes for wacom HID driver from Ping Cheng and Jiri Kosina" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: HID: wacom: fixup quirks setup for WACOM_DEVICETYPE_PAD HID: wacom: Add outbounding area for DTU1141
2 parents 1282ac4 + a3088ab commit 319645c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

drivers/hid/wacom_wac.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2481,7 +2481,7 @@ void wacom_setup_device_quirks(struct wacom *wacom)
24812481
if (features->pktlen == WACOM_PKGLEN_BBTOUCH3) {
24822482
if (features->touch_max)
24832483
features->device_type |= WACOM_DEVICETYPE_TOUCH;
2484-
if (features->type >= INTUOSHT || features->type <= BAMBOO_PT)
2484+
if (features->type >= INTUOSHT && features->type <= BAMBOO_PT)
24852485
features->device_type |= WACOM_DEVICETYPE_PAD;
24862486

24872487
features->x_max = 4096;
@@ -3213,7 +3213,8 @@ static const struct wacom_features wacom_features_0x32F =
32133213
WACOM_DTU_OFFSET, WACOM_DTU_OFFSET };
32143214
static const struct wacom_features wacom_features_0x336 =
32153215
{ "Wacom DTU1141", 23472, 13203, 1023, 0,
3216-
DTUS, WACOM_INTUOS_RES, WACOM_INTUOS_RES, 4 };
3216+
DTUS, WACOM_INTUOS_RES, WACOM_INTUOS_RES, 4,
3217+
WACOM_DTU_OFFSET, WACOM_DTU_OFFSET };
32173218
static const struct wacom_features wacom_features_0x57 =
32183219
{ "Wacom DTK2241", 95640, 54060, 2047, 63,
32193220
DTK, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 6,

0 commit comments

Comments
 (0)