summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/ssm2602.c
diff options
context:
space:
mode:
authorJarkko Nikula <jhnikula@gmail.com>2010-09-14 12:24:38 (GMT)
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-09-15 11:03:34 (GMT)
commitc6d5cca0a0e565101e3ef8d37270f5316d7c5638 (patch)
tree9181540649debe080b384921b0865305028142ed /sound/soc/codecs/ssm2602.c
parent12280faea62c7e2d7124996d9342b483ac1706d3 (diff)
downloadlinux-c6d5cca0a0e565101e3ef8d37270f5316d7c5638.tar.xz
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/ssm2602.c')
-rw-r--r--sound/soc/codecs/ssm2602.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/ssm2602.c b/sound/soc/codecs/ssm2602.c
index 67d8c04..6f38d61 100644
--- a/sound/soc/codecs/ssm2602.c
+++ b/sound/soc/codecs/ssm2602.c
@@ -560,7 +560,6 @@ static int ssm2602_probe(struct snd_soc_codec *codec)
pr_info("ssm2602 Audio Codec %s", SSM2602_VERSION);
- codec->bias_level = SND_SOC_BIAS_OFF,
codec->control_data = ssm2602->control_data;
ssm2602_reset(codec);