diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2020-09-04 16:21:43 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2020-09-07 17:03:51 +0300 |
commit | 5eae59cc876c8c1043d3eb55a2e965bb36e90bba (patch) | |
tree | 1684c1a18253b7581549f283a86f566ca375ede1 /kernel/trace/trace_functions_graph.c | |
parent | aeeba45a9df34a00113f96f9f52c45e250ff7b7d (diff) | |
download | linux-5eae59cc876c8c1043d3eb55a2e965bb36e90bba.tar.xz |
HID: wiimote: narrow spinlock range in wiimote_hid_event()
In `wiimote_hid_event()`, the `wdata->state.lock` spinlock does not need
to be held while searching `handlers[]` for a suitable handler function.
Change it so the spinlock is only held during the call to the handler
function itself.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: David Rheinsberg <david.rheinsberg@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions