diff options
author | 2023-02-12 19:00:02 +0000 | |
---|---|---|
committer | 2023-02-15 18:20:56 +0100 | |
commit | 315c537068a13f0b5681d33dd045a912f4bece6f (patch) | |
tree | 59a9de3dfa20fd5a7a9a52425709e985fb624722 /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-315c537068a13f0b5681d33dd045a912f4bece6f.tar.xz linux-rng-315c537068a13f0b5681d33dd045a912f4bece6f.zip |
HID: asus: use spinlock to protect concurrent accesses
asus driver has a worker that may access data concurrently.
Proct the accesses using a spinlock.
Fixes: af22a610bc38 ("HID: asus: support backlight on USB keyboards")
Signed-off-by: Pietro Borrello <borrello@diag.uniroma1.it>
Link: https://lore.kernel.org/r/20230125-hid-unregister-leds-v4-4-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