diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-03-16 16:39:56 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-17 13:09:13 +0100 |
commit | 0dd96b3e39df83265ef3f79170a623cebee50380 (patch) | |
tree | 92669e8fba00a4bbd0a84cc585d39888b7ecd968 /sound/soc/codecs | |
parent | ASoC: rt286: correct the OR to AND (diff) | |
download | linux-0dd96b3e39df83265ef3f79170a623cebee50380.tar.xz linux-0dd96b3e39df83265ef3f79170a623cebee50380.zip |
ASoC: rt286: Drop unnecessary dapm bias_level initialization
The default value for the bias_level is SND_SOC_BIAS_OFF when probe is being
called, there is no need to initialize it explicitly.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r-- | sound/soc/codecs/rt286.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt286.c b/sound/soc/codecs/rt286.c index 49c44a77b518..ea967978ec6b 100644 --- a/sound/soc/codecs/rt286.c +++ b/sound/soc/codecs/rt286.c @@ -1048,7 +1048,6 @@ static int rt286_probe(struct snd_soc_codec *codec) struct rt286_priv *rt286 = snd_soc_codec_get_drvdata(codec); rt286->codec = codec; - codec->dapm.bias_level = SND_SOC_BIAS_OFF; if (rt286->i2c->irq) { regmap_update_bits(rt286->regmap, |