aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm5102.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/wm5102.c')
-rw-r--r--sound/soc/codecs/wm5102.c25
1 files changed, 9 insertions, 16 deletions
diff --git a/sound/soc/codecs/wm5102.c b/sound/soc/codecs/wm5102.c
index 2e6f1ffc9fd4..e2fb07ee68a7 100644
--- a/sound/soc/codecs/wm5102.c
+++ b/sound/soc/codecs/wm5102.c
@@ -128,13 +128,9 @@ SOC_SINGLE_TLV("EQ4 B5 Volume", ARIZONA_EQ4_2, ARIZONA_EQ4_B5_GAIN_SHIFT,
128 128
129ARIZONA_MIXER_CONTROLS("DRC1L", ARIZONA_DRC1LMIX_INPUT_1_SOURCE), 129ARIZONA_MIXER_CONTROLS("DRC1L", ARIZONA_DRC1LMIX_INPUT_1_SOURCE),
130ARIZONA_MIXER_CONTROLS("DRC1R", ARIZONA_DRC1RMIX_INPUT_1_SOURCE), 130ARIZONA_MIXER_CONTROLS("DRC1R", ARIZONA_DRC1RMIX_INPUT_1_SOURCE),
131ARIZONA_MIXER_CONTROLS("DRC2L", ARIZONA_DRC2LMIX_INPUT_1_SOURCE),
132ARIZONA_MIXER_CONTROLS("DRC2R", ARIZONA_DRC2RMIX_INPUT_1_SOURCE),
133 131
134SND_SOC_BYTES_MASK("DRC1", ARIZONA_DRC1_CTRL1, 5, 132SND_SOC_BYTES_MASK("DRC1", ARIZONA_DRC1_CTRL1, 5,
135 ARIZONA_DRC1R_ENA | ARIZONA_DRC1L_ENA), 133 ARIZONA_DRC1R_ENA | ARIZONA_DRC1L_ENA),
136SND_SOC_BYTES_MASK("DRC2", ARIZONA_DRC2_CTRL1, 5,
137 ARIZONA_DRC2R_ENA | ARIZONA_DRC2L_ENA),
138 134
139ARIZONA_MIXER_CONTROLS("LHPF1", ARIZONA_HPLP1MIX_INPUT_1_SOURCE), 135ARIZONA_MIXER_CONTROLS("LHPF1", ARIZONA_HPLP1MIX_INPUT_1_SOURCE),
140ARIZONA_MIXER_CONTROLS("LHPF2", ARIZONA_HPLP2MIX_INPUT_1_SOURCE), 136ARIZONA_MIXER_CONTROLS("LHPF2", ARIZONA_HPLP2MIX_INPUT_1_SOURCE),
@@ -236,8 +232,6 @@ ARIZONA_MIXER_ENUMS(EQ4, ARIZONA_EQ4MIX_INPUT_1_SOURCE);
236 232
237ARIZONA_MIXER_ENUMS(DRC1L, ARIZONA_DRC1LMIX_INPUT_1_SOURCE); 233ARIZONA_MIXER_ENUMS(DRC1L, ARIZONA_DRC1LMIX_INPUT_1_SOURCE);
238ARIZONA_MIXER_ENUMS(DRC1R, ARIZONA_DRC1RMIX_INPUT_1_SOURCE); 234ARIZONA_MIXER_ENUMS(DRC1R, ARIZONA_DRC1RMIX_INPUT_1_SOURCE);
239ARIZONA_MIXER_ENUMS(DRC2L, ARIZONA_DRC2LMIX_INPUT_1_SOURCE);
240ARIZONA_MIXER_ENUMS(DRC2R, ARIZONA_DRC2RMIX_INPUT_1_SOURCE);
241 235
242ARIZONA_MIXER_ENUMS(LHPF1, ARIZONA_HPLP1MIX_INPUT_1_SOURCE); 236ARIZONA_MIXER_ENUMS(LHPF1, ARIZONA_HPLP1MIX_INPUT_1_SOURCE);
243ARIZONA_MIXER_ENUMS(LHPF2, ARIZONA_HPLP2MIX_INPUT_1_SOURCE); 237ARIZONA_MIXER_ENUMS(LHPF2, ARIZONA_HPLP2MIX_INPUT_1_SOURCE);
@@ -374,10 +368,6 @@ SND_SOC_DAPM_PGA("DRC1L", ARIZONA_DRC1_CTRL1, ARIZONA_DRC1L_ENA_SHIFT, 0,
374 NULL, 0), 368 NULL, 0),
375SND_SOC_DAPM_PGA("DRC1R", ARIZONA_DRC1_CTRL1, ARIZONA_DRC1R_ENA_SHIFT, 0, 369SND_SOC_DAPM_PGA("DRC1R", ARIZONA_DRC1_CTRL1, ARIZONA_DRC1R_ENA_SHIFT, 0,
376 NULL, 0), 370 NULL, 0),
377SND_SOC_DAPM_PGA("DRC2L", ARIZONA_DRC2_CTRL1, ARIZONA_DRC2L_ENA_SHIFT, 0,
378 NULL, 0),
379SND_SOC_DAPM_PGA("DRC2R", ARIZONA_DRC2_CTRL1, ARIZONA_DRC2R_ENA_SHIFT, 0,
380 NULL, 0),
381 371
382SND_SOC_DAPM_PGA("LHPF1", ARIZONA_HPLPF1_1, ARIZONA_LHPF1_ENA_SHIFT, 0, 372SND_SOC_DAPM_PGA("LHPF1", ARIZONA_HPLPF1_1, ARIZONA_LHPF1_ENA_SHIFT, 0,
383 NULL, 0), 373 NULL, 0),
@@ -494,8 +484,6 @@ ARIZONA_MIXER_WIDGETS(EQ4, "EQ4"),
494 484
495ARIZONA_MIXER_WIDGETS(DRC1L, "DRC1L"), 485ARIZONA_MIXER_WIDGETS(DRC1L, "DRC1L"),
496ARIZONA_MIXER_WIDGETS(DRC1R, "DRC1R"), 486ARIZONA_MIXER_WIDGETS(DRC1R, "DRC1R"),
497ARIZONA_MIXER_WIDGETS(DRC2L, "DRC2L"),
498ARIZONA_MIXER_WIDGETS(DRC2R, "DRC2R"),
499 487
500ARIZONA_MIXER_WIDGETS(LHPF1, "LHPF1"), 488ARIZONA_MIXER_WIDGETS(LHPF1, "LHPF1"),
501ARIZONA_MIXER_WIDGETS(LHPF2, "LHPF2"), 489ARIZONA_MIXER_WIDGETS(LHPF2, "LHPF2"),
@@ -582,8 +570,6 @@ SND_SOC_DAPM_OUTPUT("SPKDAT1R"),
582 { name, "EQ4", "EQ4" }, \ 570 { name, "EQ4", "EQ4" }, \
583 { name, "DRC1L", "DRC1L" }, \ 571 { name, "DRC1L", "DRC1L" }, \
584 { name, "DRC1R", "DRC1R" }, \ 572 { name, "DRC1R", "DRC1R" }, \
585 { name, "DRC2L", "DRC2L" }, \
586 { name, "DRC2R", "DRC2R" }, \
587 { name, "LHPF1", "LHPF1" }, \ 573 { name, "LHPF1", "LHPF1" }, \
588 { name, "LHPF2", "LHPF2" }, \ 574 { name, "LHPF2", "LHPF2" }, \
589 { name, "LHPF3", "LHPF3" }, \ 575 { name, "LHPF3", "LHPF3" }, \
@@ -668,6 +654,15 @@ static const struct snd_soc_dapm_route wm5102_dapm_routes[] = {
668 { "AIF2 Capture", NULL, "SYSCLK" }, 654 { "AIF2 Capture", NULL, "SYSCLK" },
669 { "AIF3 Capture", NULL, "SYSCLK" }, 655 { "AIF3 Capture", NULL, "SYSCLK" },
670 656
657 { "IN1L PGA", NULL, "IN1L" },
658 { "IN1R PGA", NULL, "IN1R" },
659
660 { "IN2L PGA", NULL, "IN2L" },
661 { "IN2R PGA", NULL, "IN2R" },
662
663 { "IN3L PGA", NULL, "IN3L" },
664 { "IN3R PGA", NULL, "IN3R" },
665
671 ARIZONA_MIXER_ROUTES("OUT1L", "HPOUT1L"), 666 ARIZONA_MIXER_ROUTES("OUT1L", "HPOUT1L"),
672 ARIZONA_MIXER_ROUTES("OUT1R", "HPOUT1R"), 667 ARIZONA_MIXER_ROUTES("OUT1R", "HPOUT1R"),
673 ARIZONA_MIXER_ROUTES("OUT2L", "HPOUT2L"), 668 ARIZONA_MIXER_ROUTES("OUT2L", "HPOUT2L"),
@@ -704,8 +699,6 @@ static const struct snd_soc_dapm_route wm5102_dapm_routes[] = {
704 699
705 ARIZONA_MIXER_ROUTES("DRC1L", "DRC1L"), 700 ARIZONA_MIXER_ROUTES("DRC1L", "DRC1L"),
706 ARIZONA_MIXER_ROUTES("DRC1R", "DRC1R"), 701 ARIZONA_MIXER_ROUTES("DRC1R", "DRC1R"),
707 ARIZONA_MIXER_ROUTES("DRC2L", "DRC2L"),
708 ARIZONA_MIXER_ROUTES("DRC2R", "DRC2R"),
709 702
710 ARIZONA_MIXER_ROUTES("LHPF1", "LHPF1"), 703 ARIZONA_MIXER_ROUTES("LHPF1", "LHPF1"),
711 ARIZONA_MIXER_ROUTES("LHPF2", "LHPF2"), 704 ARIZONA_MIXER_ROUTES("LHPF2", "LHPF2"),