diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-09-23 13:10:57 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-09-23 11:54:24 +0100 |
commit | 0010bcc2260e3c139c8f54ac452a6d0f7aa45db1 (patch) | |
tree | 32169ad67d01e3d4ee746e5f41c53107b59a2ed8 | |
parent | a436089b77ff9e1ea4ee982a6b4b2fa411cd3016 (diff) | |
download | blackbird-op-linux-0010bcc2260e3c139c8f54ac452a6d0f7aa45db1.tar.gz blackbird-op-linux-0010bcc2260e3c139c8f54ac452a6d0f7aa45db1.zip |
ASoC: Remove unneeded mutex_init in wl1273_probe()
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>
-rw-r--r-- | sound/soc/codecs/wl1273.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/wl1273.c b/sound/soc/codecs/wl1273.c index 5836201834d9..9fa14299cf2c 100644 --- a/sound/soc/codecs/wl1273.c +++ b/sound/soc/codecs/wl1273.c @@ -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)); |