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/soc | |
parent | e31c194672c8e700483f4be6037e12d507a9e05b (diff) | |
download | op-kernel-dev-7f39bb9e9f076f7e3cba89c987892eb573475d9a.zip op-kernel-dev-7f39bb9e9f076f7e3cba89c987892eb573475d9a.tar.gz |
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/soc')
-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 7a9048d..1440b3f 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); |