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)
commitce06760ba46b66dae50f2519ae76bd15e89b5710
treefb3563942ffea95e3671ebb175a0ddf8d9f4d44c
parentb42a362e6d10c342004b183defcb9940331b6737
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: c7f0522 ("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