Thread (5 messages) 5 messages, 3 authors, 2025-02-18

Re: [PATCH v3] HID: corsair-void: Update power supply values with a unified work handler

From: Jiri Kosina <jikos@kernel.org>
Date: 2025-02-18 20:21:49
Also in: lkml, stable

On Thu, 13 Feb 2025, Stuart Hayhurst wrote:
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: stable@vger.kernel.org
Signed-off-by: Stuart Hayhurst <redacted>
Thanks a lot to both you and Jiri for working on having this fixed 
properly. Now applied.

-- 
Jiri Kosina
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help