diff options
author | Vicki Pfau <vi@endrift.com> | 2023-12-19 19:38:33 -0800 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2024-01-02 11:20:42 +0100 |
commit | 691ead124a0c35e56633dbb73e43711ff3db23ef (patch) | |
tree | 03332653e05ff4f6f234cfed15027cb902ebf7ea /scripts/clang-tools/gen_compile_commands.py | |
parent | 917972636e8271c5691710ce5dcd66c2d3bd04f2 (diff) |
HID: hid-steam: Clean up locking
This cleans up the locking logic so that the spinlock is consistently used for
access to a small handful of struct variables, and the mutex is exclusively and
consistently used for ensuring that mutliple threads aren't trying to
send/receive reports at the same time. Previously, only some report
transactions were guarded by this mutex, potentially breaking atomicity. The
mutex has been renamed to reflect this usage.
Signed-off-by: Vicki Pfau <vi@endrift.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions