[alsa-devel] [PATCH] ASoC: dapm: Fix locking during codec shutdown
broonie at opensource.wolfsonmicro.com
Fri Jul 6 18:02:21 CEST 2012
On Fri, Jul 06, 2012 at 04:57:05PM +0100, Liam Girdwood wrote:
> Codec shutdown performs a DAPM power sequence that might cause conflicts
> and/or race conditions if another stream power event is running simultaneously.
> Use card's dapm mutex to protect any potential race condition between them.
There's a bigger problem here if we're managing to run into this - the
shutdown function is only supposed to be being called while the system
is in the middle of shutting down so we've probably got a bunch of other
races further up the stack to worry about too...
-------------- 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/6c693ceb/attachment.sig
More information about the Alsa-devel