summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm5100.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-10-03 20:17:16 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-03 14:15:22 +0100
commit43419b80fa46ee94d4b50ac6ebb1ee1ca5bbbcc7 (patch)
tree281a5595ac739d002794e9e041a389460abbbbba /sound/soc/codecs/wm5100.c
parentca7aceef21f2689d0b0e92aa4f316959f7931c25 (diff)
downloadop-kernel-dev-43419b80fa46ee94d4b50ac6ebb1ee1ca5bbbcc7.zip
op-kernel-dev-43419b80fa46ee94d4b50ac6ebb1ee1ca5bbbcc7.tar.gz
ASoC: Remove needless codec->dapm.bias_level assignment to SND_SOC_BIAS_OFF
This assignment is done by the snd_soc_register_codec so there is no need to redo it in probe function of a codec driver. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm5100.c')
-rw-r--r--sound/soc/codecs/wm5100.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm5100.c b/sound/soc/codecs/wm5100.c
index f603989..46afdf8 100644
--- a/sound/soc/codecs/wm5100.c
+++ b/sound/soc/codecs/wm5100.c
@@ -2285,8 +2285,6 @@ static int wm5100_probe(struct snd_soc_codec *codec)
wm5100->codec = codec;
- codec->dapm.bias_level = SND_SOC_BIAS_OFF;
-
ret = snd_soc_codec_set_cache_io(codec, 16, 16, SND_SOC_I2C);
if (ret != 0) {
dev_err(codec->dev, "Failed to set cache I/O: %d\n", ret);
OpenPOWER on IntegriCloud