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

From: Richard Fitzgerald
Date: Tue Aug 30 2022 - 05:00:50 EST


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.