Searched hist:c757cbafd6afe8e47d12320aa05edcd1b1d97186 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/hid/ |
H A D | wacom.h | diff c757cbafd6afe8e47d12320aa05edcd1b1d97186 Thu Jul 24 15:16:17 CDT 2014 Benjamin Tissoires <benjamin.tissoires@redhat.com> Input: wacom - put a flag when the led are initialized
This solves a bug with the wireless receiver: - at plug, the wireless receiver does not know which Wacom device it is connected to, so it does not actually creates all the LEDs - when the tablet connects, wacom->wacom_wac.features.type is set to the proper device so that wacom_wac can understand the packets - when the receiver is unplugged, it detects that a LED should have been created (based on wacom->wacom_wac.features.type) and tries to remove it: crash when removing the sysfs group.
Side effect, we can now safely call several times wacom_destroy_leds().
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Acked-by: Ping Cheng <pingc@wacom.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
|
H A D | wacom_sys.c | diff c757cbafd6afe8e47d12320aa05edcd1b1d97186 Thu Jul 24 15:16:17 CDT 2014 Benjamin Tissoires <benjamin.tissoires@redhat.com> Input: wacom - put a flag when the led are initialized
This solves a bug with the wireless receiver: - at plug, the wireless receiver does not know which Wacom device it is connected to, so it does not actually creates all the LEDs - when the tablet connects, wacom->wacom_wac.features.type is set to the proper device so that wacom_wac can understand the packets - when the receiver is unplugged, it detects that a LED should have been created (based on wacom->wacom_wac.features.type) and tries to remove it: crash when removing the sysfs group.
Side effect, we can now safely call several times wacom_destroy_leds().
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Acked-by: Ping Cheng <pingc@wacom.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
|