Re: [PATCH] ASoC: intel: sof_sdw: Prepare for configuration without a jack

From: Mark Brown

Date: Thu Apr 02 2026 - 11:26:46 EST


On Thu, Apr 02, 2026 at 11:59:43AM +0100, Maciej Strozek wrote:

> @@ -134,6 +135,11 @@ int asoc_sdw_cs42l43_spk_rtd_init(struct snd_soc_pcm_runtime *rtd, struct snd_so
> if (ret)
> dev_err(card->dev, "cs42l43 speaker map addition failed: %d\n", ret);
>
> + ret = snd_soc_component_set_sysclk(component, CS42L43_SYSCLK, CS42L43_SYSCLK_SDW,
> + 0, SND_SOC_CLOCK_IN);
> + if (ret)
> + dev_err(card->dev, "Failed to set sysclk: %d\n", ret);
> +
> return ret;

This means that instead of returning the error from the speaker map
addition to the caller we now overwite it with whatever the attempt to
set the sysclk does.

Attachment: signature.asc
Description: PGP signature