From: Charles Keepax <ckeepax@opensource.cirrus.com>
To: arina.kharlamova@mbzuai.ac.ae
Cc: Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>,
Takashi Iwai <tiwai@suse.com>,
patches@opensource.cirrus.com, linux-sound@vger.kernel.org
Subject: Re: [PATCH v3 2/2] ASoC: wm8994: free the Mic 2 short IRQ on component remove
Date: Thu, 3 Dec 2026 11:28:01 +0000 [thread overview]
Message-ID: <axFSQQryFpz6mWnU@opensource.cirrus.com> (raw)
In-Reply-To: <20261201-s2p-v07-v3-2-c6f80695b6dc@mbzuai.ac.ae>
On Tue, Dec 01, 2026 at 11:25:23PM +0400, Arina Kharlamova via B4 Relay wrote:
> From: Arina Kharlamova <arina.kharlamova@mbzuai.ac.ae>
>
> On WM8994, wm8994_component_probe() requests the MIC2_SHRT interrupt,
> but wm8994_component_remove() does not free it. The handler stays
> registered with the driver data as its cookie. A later probe of the
> component cannot request the interrupt again, and if the codec driver
> is unbound the handler can run with freed driver data.
>
> Free it in remove() like the other microphone interrupts.
>
> Fixes: 9b7c525dfaa9 ("ASoC: Support WM8958 direct microphone detection IRQ")
> Signed-off-by: Arina Kharlamova <arina.kharlamova@mbzuai.ac.ae>
> ---
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Thanks,
Charles
prev parent reply other threads:[~2026-12-03 11:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 19:25 [PATCH v3 0/2] ASoC: wm8994: fix the mic detect IRQ handling Arina Kharlamova via B4 Relay
2026-12-01 19:25 ` [PATCH v3 1/2] ASoC: wm8994: free only the mic detect IRQ that was requested Arina Kharlamova via B4 Relay
2026-12-03 11:23 ` Charles Keepax
2026-12-01 19:25 ` [PATCH v3 2/2] ASoC: wm8994: free the Mic 2 short IRQ on component remove Arina Kharlamova via B4 Relay
2026-12-03 11:28 ` Charles Keepax [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=axFSQQryFpz6mWnU@opensource.cirrus.com \
--to=ckeepax@opensource.cirrus.com \
--cc=arina.kharlamova@mbzuai.ac.ae \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-sound@vger.kernel.org \
--cc=patches@opensource.cirrus.com \
--cc=perex@perex.cz \
--cc=tiwai@suse.com \
/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