diff options
Diffstat (limited to 'drivers/input/tablet')
-rw-r--r-- | drivers/input/tablet/wacom_wac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/tablet/wacom_wac.c b/drivers/input/tablet/wacom_wac.c index ea4068b4490b..b989bbfe0dc8 100644 --- a/drivers/input/tablet/wacom_wac.c +++ b/drivers/input/tablet/wacom_wac.c | |||
@@ -331,7 +331,7 @@ static int wacom_intuos_inout(struct wacom_wac *wacom) | |||
331 | 331 | ||
332 | /* Enter report */ | 332 | /* Enter report */ |
333 | if ((data[1] & 0xfc) == 0xc0) { | 333 | if ((data[1] & 0xfc) == 0xc0) { |
334 | if (features->type >= INTUOS5S && features->type <= INTUOS5L) | 334 | if (features->quirks == WACOM_QUIRK_MULTI_INPUT) |
335 | wacom->shared->stylus_in_proximity = true; | 335 | wacom->shared->stylus_in_proximity = true; |
336 | 336 | ||
337 | /* serial number of the tool */ | 337 | /* serial number of the tool */ |
@@ -419,7 +419,7 @@ static int wacom_intuos_inout(struct wacom_wac *wacom) | |||
419 | 419 | ||
420 | /* Exit report */ | 420 | /* Exit report */ |
421 | if ((data[1] & 0xfe) == 0x80) { | 421 | if ((data[1] & 0xfe) == 0x80) { |
422 | if (features->type >= INTUOS5S && features->type <= INTUOS5L) | 422 | if (features->quirks == WACOM_QUIRK_MULTI_INPUT) |
423 | wacom->shared->stylus_in_proximity = false; | 423 | wacom->shared->stylus_in_proximity = false; |
424 | 424 | ||
425 | /* | 425 | /* |