linux/sound/pci/pcxhr
Runyu Xiao 6c97817e20 ALSA: pcxhr: initialize mutexes before requesting threaded IRQ
pcxhr_probe() requests pcxhr_threaded_irq() before initializing
mgr->lock, even though the threaded handler takes that mutex.

Initialize the manager locks before request_threaded_irq() so an
early interrupt cannot run against uninitialized mutex state during
probe.

Fixes: 9bef72bdb2 ("ALSA: pcxhr: Use nonatomic PCM ops")
Cc: stable@vger.kernel.org
Signed-off-by: Runyu Xiao <runyu.xiao@seu.edu.cn>
Link: https://patch.msgid.link/20260818144717.2269918-1-runyu.xiao@seu.edu.cn
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2026-08-19 14:59:41 +02:00
..
Makefile ALSA: pci: Use *-y instead of *-objs in Makefile 2024-05-08 18:17:37 +02:00
pcxhr_core.c ALSA: pcxhr: Use guard() for mutex locks 2025-09-01 13:52:42 +02:00
pcxhr_core.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
pcxhr_hwdep.c ALSA: pcxhr: Use auto-cleanup for firmware loading 2026-07-31 12:44:36 +02:00
pcxhr_hwdep.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
pcxhr_mix22.c ALSA: pcxhr: Share PLL frequency register calculation 2026-06-12 11:07:34 +02:00
pcxhr_mix22.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
pcxhr_mixer.c ALSA: pcxhr: Use guard() for mutex locks 2025-09-01 13:52:42 +02:00
pcxhr_mixer.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
pcxhr.c ALSA: pcxhr: initialize mutexes before requesting threaded IRQ 2026-08-19 14:59:41 +02:00
pcxhr.h ALSA: pcxhr: Share PLL frequency register calculation 2026-06-12 11:07:34 +02:00