Re: [PATCH] ASoC: intel: sof_sdw: Prepare for configuration without a jack
From: Maciej Strozek
Date: Fri Apr 03 2026 - 04:24:45 EST
W dniu czw, 02.04.2026 o godzinie 16∶25 +0100, użytkownik Mark Brown
napisał:
> 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.
Thank you, fixed in v2.
--
Regards,
Maciej