]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/hid/wacom_sys.c
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)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 19 Oct 2017 14:49:09 +0000 (09:49 -0500)
commiteeef271086f06ba03fe53d1c1a0acfde9e3491d5
tree2c86ee06ef174b01f9dc050ee84e708b0ecf8ba1
parent0e1f6e9a79caa051c3d543e3fee44c9e33b9614c
HID: wacom: leds: Don't try to control the EKR's read-only LEDs

BugLink: http://bugs.launchpad.net/bugs/1723145
commit 74aebed6dc13425233f2224668353cff7a112776 upstream.

Commit a50aac7193f1 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: a50aac7193f1 ("HID: wacom: leds: dynamically allocate LED groups")
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/hid/wacom_sys.c