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

ASoC: wm5110: Correct AEC loopback mask

The generated defines in the header are pre-shifted.
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 7f39bb9e
...@@ -344,8 +344,7 @@ static const unsigned int wm5110_aec_loopback_values[] = { ...@@ -344,8 +344,7 @@ static const unsigned int wm5110_aec_loopback_values[] = {
static const struct soc_enum wm5110_aec_loopback = static const struct soc_enum wm5110_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(wm5110_aec_loopback_texts), ARRAY_SIZE(wm5110_aec_loopback_texts),
wm5110_aec_loopback_texts, wm5110_aec_loopback_texts,
wm5110_aec_loopback_values); wm5110_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