Commit 7f39bb9e authored by Mark Brown's avatar Mark Brown

ASoC: wm5102: Correct AEC loopback mask

The generated defines in the header are pre-shifted.
Reported-by: default avatarHeather Lomond <Heather.Lomond@wolfsonmicro.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent e31c1946
...@@ -896,8 +896,7 @@ static const unsigned int wm5102_aec_loopback_values[] = { ...@@ -896,8 +896,7 @@ static const unsigned int wm5102_aec_loopback_values[] = {
static const struct soc_enum wm5102_aec_loopback = static const struct soc_enum wm5102_aec_loopback =
SOC_VALUE_ENUM_SINGLE(ARIZONA_DAC_AEC_CONTROL_1, SOC_VALUE_ENUM_SINGLE(ARIZONA_DAC_AEC_CONTROL_1,
ARIZONA_AEC_LOOPBACK_SRC_SHIFT, ARIZONA_AEC_LOOPBACK_SRC_SHIFT, 0xf,
ARIZONA_AEC_LOOPBACK_SRC_MASK,
ARRAY_SIZE(wm5102_aec_loopback_texts), ARRAY_SIZE(wm5102_aec_loopback_texts),
wm5102_aec_loopback_texts, wm5102_aec_loopback_texts,
wm5102_aec_loopback_values); wm5102_aec_loopback_values);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment