projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba856fb
)
ASoC: da7219: Fix da7219->alc_en state when enabling ALC
author
Axel Lin
<axel.lin@ingics.com>
Wed, 21 Oct 2015 00:34:37 +0000
(08:34 +0800)
committer
Mark Brown
<broonie@kernel.org>
Wed, 21 Oct 2015 12:30:23 +0000
(13:30 +0100)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Tested-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
sound/soc/codecs/da7219.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/da7219.c
b/sound/soc/codecs/da7219.c
index
abba4b3
..
f238c1e
100644
(file)
--- a/
sound/soc/codecs/da7219.c
+++ b/
sound/soc/codecs/da7219.c
@@
-402,7
+402,7
@@
static int da7219_alc_sw_put(struct snd_kcontrol *kcontrol,
/* Force ALC offset calibration if enabling ALC */
if ((ucontrol->value.integer.value[0]) && (!da7219->alc_en)) {
da7219_alc_calib(codec);
- da7219->alc_en =
fals
e;
+ da7219->alc_en =
tru
e;
} else {
da7219->alc_en = false;
}