diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-11 13:31:52 +0000 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-12 00:16:23 +0000 |
commit | 7f39bb9e9f076f7e3cba89c987892eb573475d9a (patch) | |
tree | a09094575ef2c30f63dd5b2b74c23401ce247ffe /sound | |
parent | e31c194672c8e700483f4be6037e12d507a9e05b (diff) | |
download | linux-stable-7f39bb9e9f076f7e3cba89c987892eb573475d9a.tar.gz linux-stable-7f39bb9e9f076f7e3cba89c987892eb573475d9a.tar.bz2 linux-stable-7f39bb9e9f076f7e3cba89c987892eb573475d9a.zip |
ASoC: wm5102: Correct AEC loopback mask
The generated defines in the header are pre-shifted.
Reported-by: Heather Lomond <Heather.Lomond@wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/wm5102.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm5102.c b/sound/soc/codecs/wm5102.c index 7a9048dad1cd..1440b3f9b7bb 100644 --- a/sound/soc/codecs/wm5102.c +++ b/sound/soc/codecs/wm5102.c @@ -896,8 +896,7 @@ static const unsigned int wm5102_aec_loopback_values[] = { static const struct soc_enum wm5102_aec_loopback = SOC_VALUE_ENUM_SINGLE(ARIZONA_DAC_AEC_CONTROL_1, - ARIZONA_AEC_LOOPBACK_SRC_SHIFT, - ARIZONA_AEC_LOOPBACK_SRC_MASK, + ARIZONA_AEC_LOOPBACK_SRC_SHIFT, 0xf, ARRAY_SIZE(wm5102_aec_loopback_texts), wm5102_aec_loopback_texts, wm5102_aec_loopback_values); |