summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/da732x.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-09-09 22:42:43 +0400
committerMark Brown <broonie@linaro.org>2014-09-10 00:08:45 +0400
commitf66a91ff8e83e95c822691270d883cbcb3244302 (patch)
treed90ef7e9808e66b1d3d96b91e6495bbd182caa39 /sound/soc/codecs/da732x.c
parent02bf34f4b8793a23dd0dbc4fda09d611a70ca0c9 (diff)
downloadlinux-f66a91ff8e83e95c822691270d883cbcb3244302.tar.xz
ASoC: da732x: Remove unnecessary idle_bias_off initialization
idle_bias_off is false by default, no need to set it explicitly. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/da732x.c')
-rw-r--r--sound/soc/codecs/da732x.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/codecs/da732x.c b/sound/soc/codecs/da732x.c
index 2fae31cb0067..edcbfeafc8cb 100644
--- a/sound/soc/codecs/da732x.c
+++ b/sound/soc/codecs/da732x.c
@@ -1511,12 +1511,9 @@ static int da732x_set_bias_level(struct snd_soc_codec *codec,
static int da732x_probe(struct snd_soc_codec *codec)
{
struct da732x_priv *da732x = snd_soc_codec_get_drvdata(codec);
- struct snd_soc_dapm_context *dapm = &codec->dapm;
da732x->codec = codec;
- dapm->idle_bias_off = false;
-
da732x_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
return 0;