]> git.baikalelectronics.ru Git - kernel.git/commit
HID: wacom: leds: Don't try to control the EKR's read-only LEDs
authorAaron Armstrong Skomra <skomra@gmail.com>
Mon, 28 Aug 2017 21:15:39 +0000 (14:15 -0700)
committerJiri Kosina <jkosina@suse.cz>
Wed, 6 Sep 2017 08:47:37 +0000 (10:47 +0200)
commitc9aa6aa7ebee66de2f0b333639aa61a2e6cb9a6e
tree2f43ae909abbf94a002a7811da0128a4754c26af
parent533c855f55e3b5a97a71dbbe1b2aa9f3efe559d7
HID: wacom: leds: Don't try to control the EKR's read-only LEDs

Commit 8e096abf5734 introduces 'led.groups' and adds EKR support
for these groups. However, unlike the other devices with LEDs,
the EKR's LEDs are read-only and we shouldn't attempt to control
them in wacom_led_control().

See bug: https://sourceforge.net/p/linuxwacom/bugs/342/

Fixes: 8e096abf5734 ("HID: wacom: leds: dynamically allocate LED groups")
Cc: stable <stable@vger.kernel.org> # 4.9
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>
drivers/hid/wacom_sys.c