ASoC: Hold client_mutex while calling snd_soc_instantiate_cards()
authorAxel Lin <axel.lin@gmail.com>
Mon, 6 Dec 2010 08:48:03 +0000 (16:48 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 6 Dec 2010 12:53:43 +0000 (12:53 +0000)
commit1dcb4f38e5bc28dfce0f8c7eef184a090b03bfc7
treedc8c2c67c1d36041fed0d792e50b2d04af450c45
parented8cc471d75365f8590c76f580def899d58028c0
ASoC: Hold client_mutex while calling snd_soc_instantiate_cards()

As the comments of snd_soc_instantiate_cards() said,
snd_soc_instantiate_cards() must be called with client_mutex.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-core.c