linux/sound/soc/sti
Runyu Xiao 04405aeef4
ASoC: sti: initialize IRQ lock before requesting IRQ
uni_reader_init() registers the shared IRQ before initializing
reader->irq_lock. A pending interrupt can invoke the handler while the
lock is still uninitialized.

Initialize the lock before registering the IRQ so the interrupt path
always sees valid lock state.

Fixes: d05d862ead ("ASoC: STI: Fix null ptr deference in IRQ handler")
Cc: stable@vger.kernel.org
Assisted-by: Codex:GPT-5
Signed-off-by: Runyu Xiao <runyu.xiao@seu.edu.cn>
Link: https://patch.msgid.link/20260830142026.2666914-1-runyu.xiao@seu.edu.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
2026-08-31 13:29:13 +01:00
..
Kconfig ASoC: sti: Standardize ASoC menu 2025-06-24 01:01:16 +01:00
Makefile ASoC: sti: Use *-y instead of *-objs in Makefile 2024-05-08 11:39:33 +09:00
sti_uniperif.c ASoC: sti: add missing probe entry for player and reader 2024-07-29 13:36:56 +01:00
uniperif_player.c ASoC: sti: uniperif_player: Use guard() for mutex & spin locks 2026-06-01 16:47:07 +01:00
uniperif_reader.c ASoC: sti: initialize IRQ lock before requesting IRQ 2026-08-31 13:29:13 +01:00
uniperif.h ASoC: sti: add missing probe entry for player and reader 2024-07-29 13:36:56 +01:00