diff options
| author | Stuart Hayhurst <[email protected]> | 2025-02-13 13:38:49 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2025-02-18 20:21:05 +0000 |
| commit | 0c28e4d1e10d2aae608094620bb386e6fd73d55e (patch) | |
| tree | 45de5c08c7fd2b341a0aea2108efb9afcfbca154 /net/switchdev/switchdev.c | |
| parent | HID: hid-steam: Don't use cancel_delayed_work_sync in IRQ context (diff) | |
| download | kernel-0c28e4d1e10d2aae608094620bb386e6fd73d55e.tar.gz kernel-0c28e4d1e10d2aae608094620bb386e6fd73d55e.zip | |
HID: corsair-void: Update power supply values with a unified work handler
corsair_void_process_receiver can be called from an interrupt context,
locking battery_mutex in it was causing a kernel panic.
Fix it by moving the critical section into its own work, sharing this
work with battery_add_work and battery_remove_work to remove the need
for any locking
Closes: https://bugzilla.suse.com/show_bug.cgi?id=1236843
Fixes: 6ea2a6fd3872 ("HID: corsair-void: Add Corsair Void headset family driver")
Cc: [email protected]
Signed-off-by: Stuart Hayhurst <[email protected]>
Reviewed-by: Jiri Slaby <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
