aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 01ff648d6098..7b3784826cce 100644
--- a/drivers/hid/wacom_wac.c
+++ b/drivers/hid/wacom_wac.c
@@ -765,7 +765,7 @@ static void wacom_intuos_general(struct wacom_wac *wacom)
765 /* general pen packet */ 765 /* general pen packet */
766 if ((data[1] & 0xb8) == 0xa0) { 766 if ((data[1] & 0xb8) == 0xa0) {
767 t = (data[6] << 2) | ((data[7] >> 6) & 3); 767 t = (data[6] << 2) | ((data[7] >> 6) & 3);
768 if (features->type >= INTUOS4S && features->type <= CINTIQ_COMPANION_2) { 768 if (features->pressure_max == 2047) {
769 t = (t << 1) | (data[1] & 1); 769 t = (t << 1) | (data[1] & 1);
770 } 770 }
771 input_report_abs(input, ABS_PRESSURE, t); 771 input_report_abs(input, ABS_PRESSURE, t);