From: sashiko-bot@kernel.org
To: "Niranjan H Y" <niranjan.hy@ti.com>, linux-sound@vger.kernel.org
Subject: Re: [PATCH v2 2/5] ASoC: sdw_utils: add tac5272 support
Date: Thu, 26 Nov 2026 11:33:50 +0000 [thread overview]
Message-ID: <sashiko-outbox-235382@kernel.org> (raw)
In-Reply-To: <20261126112023.29054-2-niranjan.hy@ti.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] ASoC: sdw_utils: missing UAJ DAPM routes in
asoc_sdw_ti_sdca_jack_rtd_init()
--
commit ab1ea32241446e1fd526f967dff86ea035e556af
Author: Niranjan H Y <niranjan.hy@ti.com>
ASoC: sdw_utils: add tac5272 support
This commit adds a codec_info_list entry for the TI tac5272 SoundWire
codec with UAJ and DMIC DAI definitions.
> diff --git a/sound/soc/sdw_utils/soc_sdw_utils.c b/sound/soc/sdw_utils/soc_sdw_utils.c
> index b6acf7616d147..617ea88b30649 100644
> --- a/sound/soc/sdw_utils/soc_sdw_utils.c
> +++ b/sound/soc/sdw_utils/soc_sdw_utils.c
> @@ -81,6 +81,36 @@ static const struct snd_kcontrol_new rt700_controls[] = {
> };
>
> struct asoc_sdw_codec_info codec_info_list[] = {
> + {
> + .vendor_id = 0x0102,
> + .part_id = 0x5272,
> + .name_prefix = "tac5272",
> + .dais = {
> + {
> + /* UAJ */
> + .direction = {true, true},
> + .dai_name = "tac5xx2-aif3",
> + .component_name = "tac5272",
> + .dai_type = SOC_SDW_DAI_TYPE_JACK,
> + .dailink = {SOC_SDW_JACK_OUT_DAI_ID, SOC_SDW_JACK_IN_DAI_ID},
> + .controls = generic_jack_controls,
> + .num_controls = ARRAY_SIZE(generic_jack_controls),
> + .widgets = generic_jack_widgets,
> + .num_widgets = ARRAY_SIZE(generic_jack_widgets),
> + .rtd_init = asoc_sdw_ti_sdca_jack_rtd_init,
[Severity: High]
Does asoc_sdw_ti_sdca_jack_rtd_init() leave the card's "Headphone" and
"Headset Mic" widgets (from generic_jack_widgets) disconnected from the
codec's UAJ widgets?
Unlike asoc_sdw_ti_tac5xx2_spk_rtd_init(), which adds DAPM routes from
"<prefix> SPK_L" and "<prefix> SPK_R" to the card speaker widgets,
asoc_sdw_ti_sdca_jack_rtd_init() binds ti_sdca_jack_pins to "Headphone"
and "Headset Mic" without calling snd_soc_dapm_add_routes() to connect
them to "tac5272 HP_L", "tac5272 HP_R", and "tac5272 UAJ_MIC" defined in
sound/soc/codecs/tac5xx2-sdw.c:tac_uaj_widgets[]. As a result, jack pin
state updates and the Headphone/Headset Mic pin switches do not gate or
power the codec's UAJ DAPM paths.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261126112023.29054-1-niranjan.hy@ti.com?part=2
next prev parent reply other threads:[~2026-11-26 11:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 11:20 [PATCH v2 1/5] ASoC: tac5xx2-sdw: add tac5272 support Niranjan H Y
2026-11-26 11:20 ` [PATCH v2 2/5] ASoC: sdw_utils: " Niranjan H Y
2026-11-26 11:33 ` sashiko-bot [this message]
2026-11-26 11:20 ` [PATCH v2 3/5] ASoC: tac5xx2-sdw: correct default volume registers Niranjan H Y
2026-11-26 11:28 ` sashiko-bot
2026-11-26 11:20 ` [PATCH v2 4/5] ASoC: tac5xx2-sdw: initialize volume registers to 0 dBFS on first probe Niranjan H Y
2026-11-26 11:20 ` [PATCH v2 5/5] ASoC: tac5xx2-sdw: drop DSP algo re-enable from port post-prepare Niranjan H Y
2026-11-26 11:36 ` [PATCH v2 1/5] ASoC: tac5xx2-sdw: add tac5272 support sashiko-bot
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=sashiko-outbox-235382@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=niranjan.hy@ti.com \
--cc=sashiko-reviews@lists.linux.dev \
/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