Re: [PATCH 02/17] ASoC: cs42l42: Use new SoundWire enumeration helper

Charles Keepax
2026-05-06T08:27:21Z

On Wed, May 06, 2026 at 09:13:55AM +0900, Mark Brown wrote:
> On Tue, May 05, 2026 at 05:47:52PM +0100, Charles Keepax wrote:
> > Update the driver to use the new core helper that waits for the device
> > to enumerate on SoundWire and be initialised by the SoundWire core.
>
> > static int cs42l42_sdw_handle_unattach(struct cs42l42_private *cs42l42)
> > {
>
> > - if (!peripheral->unattach_request)
> > - return 0;
>
> ...
>
> >
> > /*
> > * After a bus reset there must be a reconfiguration reset to
>
> We now always fall through to this block of code instead of exiting
> early if the device wasn't actually reset, the new helper doesn't
> distinguish between no reset and successfully waited for reset.

Thanks will give a couple days for any other comments then do a
spin.

Thanks,
Charles