ASoC: Remove unneeded mutex_init in wl1273_probe()
authorAxel Lin <axel.lin@gmail.com>
Fri, 23 Sep 2011 05:10:57 +0000 (13:10 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 23 Sep 2011 10:54:24 +0000 (11:54 +0100)
Since f0fba2ad "ASoC: multi-component - ASoC Multi-Component Support",
snd_soc_register_codec() now does all the codec list and mutex init.
Thus don't need to call mutex_init(&codec->mutex) in wl1273_probe() any more.

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

index 5836201834d97dcc769347ab98827841fce013ca..9fa14299cf2c1c4079fe5860f4b3ca793a3f4a1b 100644 (file)
@@ -462,7 +462,6 @@ static int wl1273_probe(struct snd_soc_codec *codec)
        wl1273->core = *core;
 
        snd_soc_codec_set_drvdata(codec, wl1273);
-       mutex_init(&codec->mutex);
 
        r = snd_soc_add_controls(codec, wl1273_controls,
                                 ARRAY_SIZE(wl1273_controls));
This page took 0.024819 seconds and 5 git commands to generate.