[PATCH] soundwire: cadence: only prepare attached devices on clock stop
Vinod Koul
vkoul at kernel.org
Tue Mar 30 11:06:24 CEST 2021
On 23-03-21, 09:37, Bard Liao wrote:
> From: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>
>
> We sometimes see COMMAND_IGNORED responses during the clock stop
> sequence. It turns out we already have information if devices are
> present on a link, so we should only prepare those when they
> are attached.
>
> In addition, even when COMMAND_IGNORED are received, we should still
> proceed with the clock stop. The device will not be prepared but
> that's not a problem.
>
> The only case where the clock stop will fail is if the Cadence IP
> reports an error (including a timeout), or if the devices throw a
> COMMAND_FAILED response.
Applied, thanks
--
~Vinod
More information about the Alsa-devel
mailing list