[ALSA] soc - Don't lock the codec list in snd_soc_dapm_new_widgets()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 10 Jan 2008 13:41:46 +0000 (14:41 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:29:51 +0000 (17:29 +0100)
commit4b67d35504d005e94328558ee2c8f661a46aaaf4
tree09ea3f77d9327777c6ab135d40fe6b1551b8a3b8
parent9af6d9562414568ecadf96aaef5b88e7e8b19821
[ALSA] soc - Don't lock the codec list in snd_soc_dapm_new_widgets()

snd_soc_dapm_new_widgets() takes the codec lock when adding new widgets,
causing lockdep warnings when applications later call down through ALSA
to adjust controls.  Since widgets are only added during probe this lock
should be unneeded so don't take it.
Thanks to Dmitry Baryshkov <dbaryshkov@gmail.com> for reporting this issue.
Cc: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/soc/soc-dapm.c