]> 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)
commit533c855f55e3b5a97a71dbbe1b2aa9f3efe559d7
treefb3563942ffea95e3671ebb175a0ddf8d9f4d44c
parent2fe31d6ef9736ad732de4f30f9f2685b05402939
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: 2567dd3 ("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