Home
last modified time | relevance | path

Searched hist:c0265a9488c2a3aea315b61a9239d5494997fa71 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/hid/
H A Dwacom_sys.cdiff c0265a9488c2a3aea315b61a9239d5494997fa71 Fri Jan 20 09:20:12 CST 2017 Benjamin Tissoires <benjamin.tissoires@redhat.com> 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>