From: Charles Keepax <ckeepax@opensource.cirrus.com>
To: broonie@kernel.org
Cc: lgirdwood@gmail.com, yung-chuan.liao@linux.intel.com,
pierre-louis.bossart@linux.dev, linux-sound@vger.kernel.org,
linux-kernel@vger.kernel.org, patches@opensource.cirrus.com
Subject: [PATCH v3 0/4] Fix races on creation of SDCA jack detection
Date: Thu, 16 Jul 2026 15:26:35 +0100 [thread overview]
Message-ID: <20260716142639.2306757-1-ckeepax@opensource.cirrus.com> (raw)
Currently there exists a couple races that can result in the DAPM graph
coming up in a state that doesn't match the hardware with respect to
SDCA jack detection. This series fixes these up by adding a component
level fixup_controls helper into the asoc core and shuffling around the
IRQ requests from the SDCA side.
Thanks,
Charles
Changes since v1:
- Clean up freeing of the interrupt name, Sashiko astutely pointed out
there was a memory leak there.
Changes since v2:
- Add back bus remove in the class driver, and split the IRQ free into
two functions.
Charles Keepax (4):
ASoC: Add a component fixup_controls callback
ASoC: SDCA: Populate IRQ data earlier
ASoC: SDCA: Add sdca_irq_cleanup_late()
ASoC: SDCA: Switch to fixup_controls callback for IRQ registration
include/sound/sdca_interrupts.h | 5 +
include/sound/soc-component.h | 2 +
sound/soc/sdca/sdca_class_function.c | 6 +-
sound/soc/sdca/sdca_interrupts.c | 157 ++++++++++++++-------------
sound/soc/sdca/sdca_jack.c | 44 ++++----
sound/soc/soc-component.c | 10 ++
sound/soc/soc-core.c | 5 +
7 files changed, 128 insertions(+), 101 deletions(-)
--
2.47.3
next reply other threads:[~2026-07-16 14:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-16 14:26 Charles Keepax [this message]
2026-07-16 14:26 ` [PATCH v3 1/4] ASoC: Add a component fixup_controls callback Charles Keepax
2026-07-16 14:26 ` [PATCH v3 2/4] ASoC: SDCA: Populate IRQ data earlier Charles Keepax
2026-07-17 20:42 ` Pierre-Louis Bossart
2026-07-20 14:37 ` Charles Keepax
2026-07-20 14:44 ` Pierre-Louis Bossart
2026-07-20 15:02 ` Charles Keepax
2026-07-19 13:24 ` Mark Brown
2026-07-20 14:31 ` Charles Keepax
2026-07-21 10:30 ` Charles Keepax
2026-07-16 14:26 ` [PATCH v3 3/4] ASoC: SDCA: Add sdca_irq_cleanup_late() Charles Keepax
2026-07-16 14:26 ` [PATCH v3 4/4] ASoC: SDCA: Switch to fixup_controls callback for IRQ registration Charles Keepax
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=20260716142639.2306757-1-ckeepax@opensource.cirrus.com \
--to=ckeepax@opensource.cirrus.com \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=patches@opensource.cirrus.com \
--cc=pierre-louis.bossart@linux.dev \
--cc=yung-chuan.liao@linux.intel.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
all inboxes | Powered by JetHome®