diff options
Diffstat (limited to 'sound/soc/codecs/wm5102.c')
-rw-r--r-- | sound/soc/codecs/wm5102.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm5102.c b/sound/soc/codecs/wm5102.c index 7a9048dad1cd..988e817dca05 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[] = { | |||
896 | 896 | ||
897 | static const struct soc_enum wm5102_aec_loopback = | 897 | static const struct soc_enum wm5102_aec_loopback = |
898 | SOC_VALUE_ENUM_SINGLE(ARIZONA_DAC_AEC_CONTROL_1, | 898 | SOC_VALUE_ENUM_SINGLE(ARIZONA_DAC_AEC_CONTROL_1, |
899 | ARIZONA_AEC_LOOPBACK_SRC_SHIFT, | 899 | ARIZONA_AEC_LOOPBACK_SRC_SHIFT, 0xf, |
900 | ARIZONA_AEC_LOOPBACK_SRC_MASK, | ||
901 | ARRAY_SIZE(wm5102_aec_loopback_texts), | 900 | ARRAY_SIZE(wm5102_aec_loopback_texts), |
902 | wm5102_aec_loopback_texts, | 901 | wm5102_aec_loopback_texts, |
903 | wm5102_aec_loopback_values); | 902 | wm5102_aec_loopback_values); |
@@ -1153,6 +1152,8 @@ SND_SOC_DAPM_OUTPUT("SPKOUTRN"), | |||
1153 | SND_SOC_DAPM_OUTPUT("SPKOUTRP"), | 1152 | SND_SOC_DAPM_OUTPUT("SPKOUTRP"), |
1154 | SND_SOC_DAPM_OUTPUT("SPKDAT1L"), | 1153 | SND_SOC_DAPM_OUTPUT("SPKDAT1L"), |
1155 | SND_SOC_DAPM_OUTPUT("SPKDAT1R"), | 1154 | SND_SOC_DAPM_OUTPUT("SPKDAT1R"), |
1155 | |||
1156 | SND_SOC_DAPM_OUTPUT("MICSUPP"), | ||
1156 | }; | 1157 | }; |
1157 | 1158 | ||
1158 | #define ARIZONA_MIXER_INPUT_ROUTES(name) \ | 1159 | #define ARIZONA_MIXER_INPUT_ROUTES(name) \ |
@@ -1365,6 +1366,8 @@ static const struct snd_soc_dapm_route wm5102_dapm_routes[] = { | |||
1365 | { "AEC Loopback", "SPKDAT1R", "OUT5R" }, | 1366 | { "AEC Loopback", "SPKDAT1R", "OUT5R" }, |
1366 | { "SPKDAT1L", NULL, "OUT5L" }, | 1367 | { "SPKDAT1L", NULL, "OUT5L" }, |
1367 | { "SPKDAT1R", NULL, "OUT5R" }, | 1368 | { "SPKDAT1R", NULL, "OUT5R" }, |
1369 | |||
1370 | { "MICSUPP", NULL, "SYSCLK" }, | ||
1368 | }; | 1371 | }; |
1369 | 1372 | ||
1370 | static int wm5102_set_fll(struct snd_soc_codec *codec, int fll_id, int source, | 1373 | static int wm5102_set_fll(struct snd_soc_codec *codec, int fll_id, int source, |