[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b3162f04-5cfe-75c2-6117-d7949ccd0a5a@opensource.cirrus.com>
Date: Tue, 30 Aug 2022 10:00:14 +0100
From: Richard Fitzgerald <rf@...nsource.cirrus.com>
To: <vkoul@...nel.org>, <yung-chuan.liao@...ux.intel.com>,
<pierre-louis.bossart@...ux.intel.com>, <sanyog.r.kale@...el.com>
CC: <alsa-devel@...a-project.org>, <linux-kernel@...r.kernel.org>,
<patches@...nsource.cirrus.com>
Subject: Re: [PATCH 3/3] soundwire: bus: Fix lost UNATTACH when re-enumerating
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.
Powered by blists - more mailing lists