diff options
| author | Runyu Xiao <runyu.xiao@seu.edu.cn> | 2026-08-30 14:34:11 +0800 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-08-31 10:07:23 +0200 |
| commit | 33abb7491e89285a41565670945293dda841afc4 (patch) | |
| tree | caefdadd63545e78e9f06ee09662e559db0dbbc7 /scripts/Makefile.thinlto | |
| parent | a565d82392e2240e6b2b25e2118e8617efa9fe74 (diff) | |
ALSA: harmony: initialize locks before requesting IRQ
snd_harmony_create() registers the IRQ before initializing h->lock and
h->mixer_lock. A pending interrupt can invoke the handler while these
locks are uninitialized.
Initialize both locks before requesting the IRQ so the handler always
sees valid lock state.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
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/20260830063411.2215691-1-runyu.xiao@seu.edu.cn
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
