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

Richard Fitzgerald rf at opensource.cirrus.com
Tue Aug 30 11:00:14 CEST 2022


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.


More information about the Alsa-devel mailing list