[alsa-devel] [PATCH] ASoC: dapm: Fix locking during codec shutdown
broonie at opensource.wolfsonmicro.com
Fri Jul 6 19:20:29 CEST 2012
On Fri, Jul 06, 2012 at 06:10:13PM +0100, Liam Girdwood wrote:
> On Fri, 2012-07-06 at 17:43 +0100, Mark Brown wrote:
> > So how is suspend and resume safe, for example? It's the same general
> > path through the PM core.
> suspend and resume are safe as they call stream_event() that holds the
> DAPM mutex.
So that's safe with regard to DAPM... it's not the specific example
that's concerning me here so much as the fact that I don't think we're
doing anything else to make sure shutdown is safe with other things that
might be going on when shutdown is called. There's probably a huge raft
of issues that might occur...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 836 bytes
Desc: Digital signature
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20120706/7cc69bf5/attachment.sig
More information about the Alsa-devel