diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2020-09-04 14:21:43 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2020-09-07 16:03:51 +0200 |
commit | 5eae59cc876c8c1043d3eb55a2e965bb36e90bba (patch) | |
tree | 1684c1a18253b7581549f283a86f566ca375ede1 /drivers/hid/hid-roccat-isku.c | |
parent | aeeba45a9df34a00113f96f9f52c45e250ff7b7d (diff) |
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 'drivers/hid/hid-roccat-isku.c')
0 files changed, 0 insertions, 0 deletions