Re: [PATCH 02/17] ASoC: cs42l42: Use new SoundWire enumeration helper
From: Mark Brown
Date: Tue May 05 2026 - 20:14:20 EST
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.
Attachment:
signature.asc
Description: PGP signature