]> git.baikalelectronics.ru Git - kernel.git/commit
HID: wacom: bits shifted too much for 9th and 10th buttons
authorPing Cheng <pinglinux@gmail.com>
Thu, 31 Aug 2017 22:50:03 +0000 (15:50 -0700)
committerJiri Kosina <jkosina@suse.cz>
Wed, 6 Sep 2017 08:46:45 +0000 (10:46 +0200)
commit4c0fbca2bb09187a9defca8cbf20d8ae4cc78f0c
treefb3563942ffea95e3671ebb175a0ddf8d9f4d44c
parentf4e7b8d1270604f407b1b3236974fd1289affaa1
HID: wacom: bits shifted too much for 9th and 10th buttons

Cintiq 12 has 10 expresskey buttons. The bit shift for the last
two buttons were off by 5.

Fixes: bcff829 ("HID: wacom: Slim down wacom_intuos_pad processing")
Signed-off-by: Ping Cheng <ping.cheng@wacom.com>
Tested-by: Matthieu Robin <matthieu@macolu.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_wac.c