Re: [PATCH 3/3] soundwire: bus: Fix lost UNATTACH when re-enumerating

Richard Fitzgerald
2022-08-30T09:00:50Z

On 25/08/2022 13:22, Richard Fitzgerald wrote:
> Rearrange sdw_handle_slave_status() so that any peripherals
> on device #0 that are given a device ID are reported as
> unattached. The ensures that UNATTACH status is not lost.
>
> Handle unenumerated devices first and update the
> sdw_slave_status array to indicate IDs that must have become
> UNATTACHED.
>

Don't use this patch!
I found there's a race condition with the Cadence interrupts.
Use my alternative fix.