[alsa-devel] [PATCH] ASoC: dapm: Fix locking during codec shutdown

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Jul 6 18:43:44 CEST 2012

On Fri, Jul 06, 2012 at 05:36:15PM +0100, Liam Girdwood wrote:

> I don't think there is anything explicitly stopping a power off from
> happening during a stream shutdown atm without this patch. It was
> reported to me that this would fail 1 in 20 times on a certain device
> and that the above patch fixed the issue (1200 tests completed OK after
> the patch).

> I do think we need this patch atm since we are accessing the same
> resources as the stream event.

So how is suspend and resume safe, for example?  It's the same general
path through the PM core.

More information about the Alsa-devel mailing list