summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/tlv320dac33.c
diff options
context:
space:
mode:
authorJarkko Nikula <jhnikula@gmail.com>2010-09-14 14:24:38 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-09-15 13:03:34 +0200
commitc6d5cca0a0e565101e3ef8d37270f5316d7c5638 (patch)
tree9181540649debe080b384921b0865305028142ed /sound/soc/codecs/tlv320dac33.c
parentASoC: Samsung: Debug PCM snd_soc_dai_driver registration (diff)
downloadlinux-c6d5cca0a0e565101e3ef8d37270f5316d7c5638.tar.xz
linux-c6d5cca0a0e565101e3ef8d37270f5316d7c5638.zip
ASoC: Remove needless codec->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: Jarkko Nikula <jhnikula@gmail.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/tlv320dac33.c')
-rw-r--r--sound/soc/codecs/tlv320dac33.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/tlv320dac33.c b/sound/soc/codecs/tlv320dac33.c
index a3c5b521da6a..bf6d01f4a45a 100644
--- a/sound/soc/codecs/tlv320dac33.c
+++ b/sound/soc/codecs/tlv320dac33.c
@@ -1385,7 +1385,6 @@ static int dac33_soc_probe(struct snd_soc_codec *codec)
codec->control_data = dac33->control_data;
codec->hw_write = (hw_write_t) i2c_master_send;
- codec->bias_level = SND_SOC_BIAS_OFF;
codec->idle_bias_off = 1;
dac33->codec = codec;