diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-10-21 00:34:37 (GMT) |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-10-21 12:30:23 (GMT) |
commit | c5cff89b5f64b4fc7f6fd9be44b1aa7e766a94e4 (patch) | |
tree | f939e24afa8554de7e07344026b42101e864539b | |
parent | ba856fbd602175d386ab5a4fc0fdd89b912546cb (diff) | |
download | linux-c5cff89b5f64b4fc7f6fd9be44b1aa7e766a94e4.tar.xz |
ASoC: da7219: Fix da7219->alc_en state when enabling ALC
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
-rw-r--r-- | sound/soc/codecs/da7219.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/da7219.c b/sound/soc/codecs/da7219.c index abba4b3..f238c1e 100644 --- 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 = false; + da7219->alc_en = true; } else { da7219->alc_en = false; } |