diff options
author | 2023-02-12 18:59:59 +0000 | |
---|---|---|
committer | 2023-02-15 18:18:48 +0100 | |
commit | 9fefb6201c4f8dd9f58c581b2a66e5cde2895ea2 (patch) | |
tree | 7e0e25b3a013f59510e6dbca46bafa608a86a324 /lib/parser.c | |
parent | Merge tag 'for-linus-2023020901' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid (diff) | |
download | linux-rng-9fefb6201c4f8dd9f58c581b2a66e5cde2895ea2.tar.xz linux-rng-9fefb6201c4f8dd9f58c581b2a66e5cde2895ea2.zip |
HID: bigben: use spinlock to protect concurrent accesses
bigben driver has a worker that may access data concurrently.
Proct the accesses using a spinlock.
Fixes: 256a90ed9e46 ("HID: hid-bigbenff: driver for BigBen Interactive PS3OFMINIPAD gamepad")
Signed-off-by: Pietro Borrello <borrello@diag.uniroma1.it>
Link: https://lore.kernel.org/r/20230125-hid-unregister-leds-v4-1-7860c5763c38@diag.uniroma1.it
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions