diff options
| author | Ian Abbott <[email protected]> | 2020-09-04 13:21:43 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2020-09-07 14:03:51 +0000 |
| commit | 5eae59cc876c8c1043d3eb55a2e965bb36e90bba (patch) | |
| tree | 1684c1a18253b7581549f283a86f566ca375ede1 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
| parent | HID: wiimote: make handlers[] const (diff) | |
| download | kernel-5eae59cc876c8c1043d3eb55a2e965bb36e90bba.tar.gz kernel-5eae59cc876c8c1043d3eb55a2e965bb36e90bba.zip | |
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 <[email protected]>
Reviewed-by: David Rheinsberg <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions
