From: sashiko-bot@kernel.org
To: "Bard Liao" <yung-chuan.liao@linux.intel.com>
Cc: linux-sound@vger.kernel.org
Subject: Re: [PATCH] ASoC: Intel: soc-acpi-intel-arl-match: use dummy topology for cs42l43 + cs35l56
Date: Fri, 04 Dec 2026 14:57:02 +0000 [thread overview]
Message-ID: <sashiko-outbox-250034@kernel.org> (raw)
In-Reply-To: <20261204143720.3631183-1-yung-chuan.liao@linux.intel.com>
Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Medium] ASoC: Intel: dummy tplg drops monolithic fallback in
snd_sof_load_topology()
- [Low] ASoC: Intel: commit message omits root cause for ARL dummy tplg
switch
--
commit 778f084a7928198db8afa0d404eb123cbd557c6a
Author: Bard Liao <yung-chuan.liao@linux.intel.com>
> ASoC: Intel: soc-acpi-intel-arl-match: use dummy topology for cs42l43 + cs35l56
>
> The ARL cs42l43 on link 0 + cs35l56 on links 2/3 entries use
> sof-arl-cs42l43-l0-cs35l56-l23.tplg as the topology name. With a
> non-dummy topology name, sof_sdw_get_tplg_files() gives up on function
> topologies as soon as one dai link has no matching function topology,
> and SOF falls back to the monolithic topology.
>
> Use sof-arl-dummy.tplg instead. A dummy topology name means there is
> no monolithic fallback, so the card is formed from function topologies
> on a best-effort basis, skipping the dai links that have no function
> topology instead of falling back to the monolithic topology.
>
> Link: https://github.com/thesofproject/linux/issues/5916
> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
> Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
[Severity: Low]
Could the commit message explain which DAI link lacks a matching function
topology and why falling back to sof-arl-cs42l43-l0-cs35l56-l23.tplg is a
problem here?
Relying on the external GitHub link leaves the root cause and the reason
for dropping monolithic fallback on these three entries out of the git
history.
> diff --git a/sound/soc/intel/common/soc-acpi-intel-arl-match.c b/sound/soc/intel/common/soc-acpi-intel-arl-match.c
> index bddeb1225e5df..837be1e6cdc78 100644
> --- a/sound/soc/intel/common/soc-acpi-intel-arl-match.c
> +++ b/sound/soc/intel/common/soc-acpi-intel-arl-match.c
> @@ -665,21 +665,21 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_arl_sdw_machines[] = {
> .link_mask = BIT(0) | BIT(2) | BIT(3),
> .links = arl_cs42l43_l0_cs35l56_l23,
> .drv_name = "sof_sdw",
> - .sof_tplg_filename = "sof-arl-cs42l43-l0-cs35l56-l23.tplg",
> + .sof_tplg_filename = "sof-arl-dummy.tplg",
> .get_function_tplg_files = sof_sdw_get_tplg_files,
> },
> {
> .link_mask = BIT(0) | BIT(2) | BIT(3),
> .links = arl_cs42l43_l0_cs35l56_2_l23,
> .drv_name = "sof_sdw",
> - .sof_tplg_filename = "sof-arl-cs42l43-l0-cs35l56-l23.tplg",
> + .sof_tplg_filename = "sof-arl-dummy.tplg",
> .get_function_tplg_files = sof_sdw_get_tplg_files,
> },
> {
> .link_mask = BIT(0) | BIT(2) | BIT(3),
> .links = arl_cs42l43_l0_cs35l56_3_l23,
> .drv_name = "sof_sdw",
> - .sof_tplg_filename = "sof-arl-cs42l43-l0-cs35l56-l23.tplg",
> + .sof_tplg_filename = "sof-arl-dummy.tplg",
> .get_function_tplg_files = sof_sdw_get_tplg_files,
> },
> {
[Severity: Medium]
Does switching these existing entries to sof-arl-dummy.tplg break audio
probe on systems without function topologies?
In snd_sof_load_topology(), a "dummy" filename disables monolithic
fallback and returns -EINVAL when tplg_cnt is 0. ARL laptops with an
older sof-firmware package (or snd_sof.disable_function_topology=1) will
now fail probe instead of using sof-arl-cs42l43-l0-cs35l56-l23.tplg.
Because best_effort is also enabled for dummy filenames,
sof_sdw_get_tplg_files() skips any missing fragment rather than returning
0, so a partial function topology set can also leave speakers or the
headset jack silently missing.
Decoupling best-effort skipping of unsupported DAI links from the dummy
no-fallback check in snd_sof_load_topology() would preserve monolithic
fallback for these entries.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261204143720.3631183-1-yung-chuan.liao@linux.intel.com?part=1
prev parent reply other threads:[~2026-12-04 14:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 14:37 [PATCH] ASoC: Intel: soc-acpi-intel-arl-match: use dummy topology for cs42l43 + cs35l56 Bard Liao
2026-12-04 14:57 ` sashiko-bot [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=sashiko-outbox-250034@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=sashiko-reviews@lists.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