]> git.baikalelectronics.ru Git - kernel.git/commit
HID: wacom: Setup pen input capabilities to the targeted tools
authorPing Cheng <pinglinux@gmail.com>
Tue, 6 Apr 2021 03:46:34 +0000 (20:46 -0700)
committerJiri Kosina <jkosina@suse.cz>
Tue, 13 Apr 2021 06:19:41 +0000 (08:19 +0200)
commite890a7322c7ef8149e8c3dfc71a0266a6aae3edd
tree468a4fbbcab48053808d3a0215ecf092f08082be
parent09a2afd77fceb8cafa55dd542f22e71276f2c244
HID: wacom: Setup pen input capabilities to the targeted tools

Only set the bits that are supported by the targeted devices.
This patch also removes duplicated set_bit calls.

Signed-off-by: Ping Cheng <ping.cheng@wacom.com>
Reviewed-by: Jason Gerecke <Jason.Gerecke@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_wac.c
drivers/hid/wacom_wac.h