From: Takashi Iwai Subject: Re: [alsa-devel] [PATCH] ASoC: dapm: Add locking to snd_soc_dapm_xxxx_pin functions Date: Wed, 12 Feb 2014 12:31:05 +0100 Message-ID: References: <20140210110536.GB6856@opensource.wolfsonmicro.com> <20140212112640.GE16684@opensource.wolfsonmicro.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <20140212112640.GE16684@opensource.wolfsonmicro.com> Sender: linux-kernel-owner@vger.kernel.org To: Charles Keepax Cc: broonie@kernel.org, alsa-devel@alsa-project.org, patches@opensource.wolfsonmicro.com, dmitry.torokhov@gmail.com, lgirdwood@gmail.com, linux-kernel@vger.kernel.org, cw00.choi@samsung.com, myungjoo.ham@samsung.com List-Id: alsa-devel@alsa-project.org 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: > > > > > > > > > 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