Re: [PATCH 04/10] ASoC: rt5682: Use new SoundWire enumeration helper
From: Mark Brown
Date: Thu Jun 04 2026 - 07:11:43 EST
On Wed, Jun 03, 2026 at 03:44:37PM +0100, Charles Keepax wrote:
> Now the new wait for SoundWire enumeration helper no longer depends on
> unattach_request it is safe to use from probe time. Update the driver
> to use the new core helper.
>
> Signed-off-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>
> index d39f8e4f3474c..4b82e07d3b2c7 100644
> --- a/sound/soc/codecs/rt5682.c
> +++ b/sound/soc/codecs/rt5682.c
> @@ -2929,20 +2929,14 @@ static int rt5682_probe(struct snd_soc_component *component)
> {
> + ret = sdw_slave_wait_for_init(rt5682->slave, RT5682_PROBE_TIMEOUT);
> + if (ret)
> + return ret;
Similar issue here with !SOUNDWIRE builds.
> }
>
> snd_soc_dapm_disable_pin(dapm, "MICBIAS");
> --
> 2.47.3
>
Attachment:
signature.asc
Description: PGP signature