[alsa-devel] [PATCH] ASoC: dapm: Add locking to snd_soc_dapm_xxxx_pin functions

Takashi Iwai tiwai at suse.de
Wed Feb 12 12:31:05 CET 2014


At Wed, 12 Feb 2014 11:26:40 +0000,
Charles Keepax wrote:
> 
> On Mon, Feb 10, 2014 at 02:05:26PM +0100, Takashi Iwai wrote:
> > At Mon, 10 Feb 2014 11:05:36 +0000,
> > Charles Keepax wrote:
> > > 
> <snip>
> > > 
> > Actually, this fixes also the double-lock in snd_soc_dapm_sync() call
> > in the line below the above.  snd_soc_dapm_sync() itself takes
> > mutex_lock_nested().
> 
> Yeah spotted that as I was going through will do this in a
> seperate patch if this one doesn't go in.

As the deadlock seems present since long time ago, it'd be better to
have a fix patch (for stable kernels), then move to the new scheme, if
any.


Takashi


More information about the Alsa-devel mailing list