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

From: Takashi Iwai
Date: Wed Feb 12 2014 - 06:31:17 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/