diff options
author | Jarkko Nikula <jhnikula@gmail.com> | 2010-09-14 08:24:38 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-09-15 07:03:34 -0400 |
commit | c6d5cca0a0e565101e3ef8d37270f5316d7c5638 (patch) | |
tree | 9181540649debe080b384921b0865305028142ed /sound/soc/codecs/twl4030.c | |
parent | 12280faea62c7e2d7124996d9342b483ac1706d3 (diff) |
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/twl4030.c')
-rw-r--r-- | sound/soc/codecs/twl4030.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/twl4030.c b/sound/soc/codecs/twl4030.c index c7ee1a4c9d99..cbebec6ba1ba 100644 --- a/sound/soc/codecs/twl4030.c +++ b/sound/soc/codecs/twl4030.c | |||
@@ -2245,7 +2245,6 @@ static int twl4030_soc_probe(struct snd_soc_codec *codec) | |||
2245 | snd_soc_codec_set_drvdata(codec, twl4030); | 2245 | snd_soc_codec_set_drvdata(codec, twl4030); |
2246 | /* Set the defaults, and power up the codec */ | 2246 | /* Set the defaults, and power up the codec */ |
2247 | twl4030->sysclk = twl4030_codec_get_mclk() / 1000; | 2247 | twl4030->sysclk = twl4030_codec_get_mclk() / 1000; |
2248 | codec->bias_level = SND_SOC_BIAS_OFF; | ||
2249 | codec->idle_bias_off = 1; | 2248 | codec->idle_bias_off = 1; |
2250 | 2249 | ||
2251 | twl4030_init_chip(codec); | 2250 | twl4030_init_chip(codec); |