projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5af76d5
)
ASoC: rt286: Drop unnecessary dapm bias_level initialization
author
Lars-Peter Clausen
<lars@metafoo.de>
Mon, 16 Mar 2015 15:39:56 +0000
(16:39 +0100)
committer
Mark Brown
<broonie@kernel.org>
Tue, 17 Mar 2015 12:09:13 +0000
(12:09 +0000)
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>
sound/soc/codecs/rt286.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/rt286.c
b/sound/soc/codecs/rt286.c
index 49c44a77b5188d9ff2d12db124573ab2215ee156..ea967978ec6bc25220382f1cf656cd416ece7f18 100644
(file)
--- 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,