aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2023-10-25 21:01:51 +0200
committerBenjamin Tissoires <[email protected]>2023-10-26 10:06:34 +0200
commit3e6b0bb22a803532a7ddf8ba255c46213c24a478 (patch)
tree548ee307cbe45452ae96562e2b311790fd67cdc5 /tools/perf/util/trace-event-scripting.c
parent9ce363aa009c9ec1b921e3c316cbed7639c024e0 (diff)
HID: logitech-hidpp: Stop IO before calling hid_connect()
hid_connect() will call hid_pidff_init() which does hid_device_io_start() leading to an "io already started" warning. To fix this call hid_device_io_stop() before calling hid_connect(), stopping IO means that connect events may be lost while hid_connect() runs, re-enable IO and move the hidpp_connect_event() work queuing after the hid_connect(). Note re-enabling IO is also necessary for the g920_get_config() call later during hidpp_probe(). Signed-off-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Benjamin Tissoires <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions