[alsa-devel] [PATCH] ASoC: core: Fix race in dapm_power_widgets

Mark Brown broonie at opensource.wolfsonmicro.com
Sat Nov 6 16:10:55 CET 2010


On Sat, Nov 06, 2010 at 11:00:06AM +0000, Liam Girdwood wrote:

> I think we need to consider non CODEC components too that have DAPM
> controls (and have no CODEC mutex). i.e OMAP4 ABE. 

> I'll try and look into this later as part of the OMAP4 upstream. Ideally
> a card/DAPM mutex may be more desirable here.

Another option is to just move the mutex up to the card level so we
don't need mutexes on the individual objects.  I think we're going to
need to lock at the card level to do cross-object DAPM sequences, and if
we do that we may not need to bother with anything more fine grained.


More information about the Alsa-devel mailing list