summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Armstrong Skomra <skomra@gmail.com>2019-05-10 15:34:18 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-26 09:13:05 +0200
commit84a7f9ba5a15d095ce4e90f2b2f57303a3560bef (patch)
tree922fa77fc7b646b31fbfce3c498dbc9e70fafc6e
parent2e6ce3040ae6ecf2db791e2a08bdb57e9447496a (diff)
downloadlinux-stable-84a7f9ba5a15d095ce4e90f2b2f57303a3560bef.tar.gz
linux-stable-84a7f9ba5a15d095ce4e90f2b2f57303a3560bef.tar.bz2
linux-stable-84a7f9ba5a15d095ce4e90f2b2f57303a3560bef.zip
HID: wacom: correct touch resolution x/y typo
commit 68c20cc2164cc5c7c73f8012ae6491afdb1f7f72 upstream. This affects the 2nd-gen Intuos Pro Medium and Large when using their Bluetooth connection. Fixes: 4922cd26f03c ("HID: wacom: Support 2nd-gen Intuos Pro's Bluetooth classic interface") Cc: <stable@vger.kernel.org> # v4.11+ Signed-off-by: Aaron Armstrong Skomra <aaron.skomra@wacom.com> Reviewed-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-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 e172c7dda68c..447394cc4222 100644
--- a/drivers/hid/wacom_wac.c
+++ b/drivers/hid/wacom_wac.c
@@ -3716,7 +3716,7 @@ int wacom_setup_touch_input_capabilities(struct input_dev *input_dev,
0, 5920, 4, 0);
}
input_abs_set_res(input_dev, ABS_MT_POSITION_X, 40);
- input_abs_set_res(input_dev, ABS_MT_POSITION_X, 40);
+ input_abs_set_res(input_dev, ABS_MT_POSITION_Y, 40);
/* fall through */