summaryrefslogtreecommitdiffstats
path: root/drivers/hid/wacom.h
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2017-01-20 16:20:12 +0100
committerJiri Kosina <jkosina@suse.cz>2017-01-23 11:00:13 +0100
commitc0265a9488c2a3aea315b61a9239d5494997fa71 (patch)
tree61a1ddd65c1bf40258af481c3b15a235c96e7b82 /drivers/hid/wacom.h
parent5b779fc52020ac6f5beea31c5eafc3d25cf70dc1 (diff)
downloadop-kernel-dev-c0265a9488c2a3aea315b61a9239d5494997fa71.zip
op-kernel-dev-c0265a9488c2a3aea315b61a9239d5494997fa71.tar.gz
HID: wacom: remove warning while disconnecting devices
When the LED class gets removed, it actually tries to reset the LED. However, the device being disconnected, the set_report fails. Previously, the attempt to cut lose this last event was through unsetting the HID drvdata, but it was not working properly. Simply reset the LED groups to NULL makes a more efficient solution. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Acked-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/wacom.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud