diff options
author | Benjamin Tissoires <[email protected]> | 2014-07-24 13:16:17 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2014-07-25 18:55:52 -0700 |
commit | c757cbafd6afe8e47d12320aa05edcd1b1d97186 (patch) | |
tree | ee5f29d13f2d0d4c9a2c787c3af446e1dbc2902d /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 0b335cad73c800717856f8f5a5509d367c38b61d (diff) |
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 <[email protected]>
Acked-by: Ping Cheng <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions