From: Takashi Iwai <tiwai@suse.de>
To: Runyu Xiao <runyu.xiao@seu.edu.cn>
Cc: tiwai@suse.de, linux-sound@vger.kernel.org,
linux-kernel@vger.kernel.org, stable@vger.kernel.org,
jianhao.xu@seu.edu.cn
Subject: Re: [PATCH] ALSA: harmony: initialize locks before requesting IRQ
Date: Mon, 31 Aug 2026 10:07:39 +0200 [thread overview]
Message-ID: <87bjaisofo.wl-tiwai@suse.de> (raw)
In-Reply-To: <20260830063411.2215691-1-runyu.xiao@seu.edu.cn>
On Sun, 30 Aug 2026 08:34:11 +0200,
Runyu Xiao wrote:
>
> 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>
Applied now. Thanks.
Takashi
prev parent reply other threads:[~2026-08-31 8:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-30 6:34 [PATCH] ALSA: harmony: initialize locks before requesting IRQ Runyu Xiao
2026-08-31 8:07 ` Takashi Iwai [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bjaisofo.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=jianhao.xu@seu.edu.cn \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=runyu.xiao@seu.edu.cn \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox