diff options
Diffstat (limited to 'sound/soc/codecs/wm5102.c')
-rw-r--r-- | sound/soc/codecs/wm5102.c | 25 |
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 | ||
129 | ARIZONA_MIXER_CONTROLS("DRC1L", ARIZONA_DRC1LMIX_INPUT_1_SOURCE), | 129 | ARIZONA_MIXER_CONTROLS("DRC1L", ARIZONA_DRC1LMIX_INPUT_1_SOURCE), |
130 | ARIZONA_MIXER_CONTROLS("DRC1R", ARIZONA_DRC1RMIX_INPUT_1_SOURCE), | 130 | ARIZONA_MIXER_CONTROLS("DRC1R", ARIZONA_DRC1RMIX_INPUT_1_SOURCE), |
131 | ARIZONA_MIXER_CONTROLS("DRC2L", ARIZONA_DRC2LMIX_INPUT_1_SOURCE), | ||
132 | ARIZONA_MIXER_CONTROLS("DRC2R", ARIZONA_DRC2RMIX_INPUT_1_SOURCE), | ||
133 | 131 | ||
134 | SND_SOC_BYTES_MASK("DRC1", ARIZONA_DRC1_CTRL1, 5, | 132 | SND_SOC_BYTES_MASK("DRC1", ARIZONA_DRC1_CTRL1, 5, |
135 | ARIZONA_DRC1R_ENA | ARIZONA_DRC1L_ENA), | 133 | ARIZONA_DRC1R_ENA | ARIZONA_DRC1L_ENA), |
136 | SND_SOC_BYTES_MASK("DRC2", ARIZONA_DRC2_CTRL1, 5, | ||
137 | ARIZONA_DRC2R_ENA | ARIZONA_DRC2L_ENA), | ||
138 | 134 | ||
139 | ARIZONA_MIXER_CONTROLS("LHPF1", ARIZONA_HPLP1MIX_INPUT_1_SOURCE), | 135 | ARIZONA_MIXER_CONTROLS("LHPF1", ARIZONA_HPLP1MIX_INPUT_1_SOURCE), |
140 | ARIZONA_MIXER_CONTROLS("LHPF2", ARIZONA_HPLP2MIX_INPUT_1_SOURCE), | 136 | ARIZONA_MIXER_CONTROLS("LHPF2", ARIZONA_HPLP2MIX_INPUT_1_SOURCE), |
@@ -236,8 +232,6 @@ ARIZONA_MIXER_ENUMS(EQ4, ARIZONA_EQ4MIX_INPUT_1_SOURCE); | |||
236 | 232 | ||
237 | ARIZONA_MIXER_ENUMS(DRC1L, ARIZONA_DRC1LMIX_INPUT_1_SOURCE); | 233 | ARIZONA_MIXER_ENUMS(DRC1L, ARIZONA_DRC1LMIX_INPUT_1_SOURCE); |
238 | ARIZONA_MIXER_ENUMS(DRC1R, ARIZONA_DRC1RMIX_INPUT_1_SOURCE); | 234 | ARIZONA_MIXER_ENUMS(DRC1R, ARIZONA_DRC1RMIX_INPUT_1_SOURCE); |
239 | ARIZONA_MIXER_ENUMS(DRC2L, ARIZONA_DRC2LMIX_INPUT_1_SOURCE); | ||
240 | ARIZONA_MIXER_ENUMS(DRC2R, ARIZONA_DRC2RMIX_INPUT_1_SOURCE); | ||
241 | 235 | ||
242 | ARIZONA_MIXER_ENUMS(LHPF1, ARIZONA_HPLP1MIX_INPUT_1_SOURCE); | 236 | ARIZONA_MIXER_ENUMS(LHPF1, ARIZONA_HPLP1MIX_INPUT_1_SOURCE); |
243 | ARIZONA_MIXER_ENUMS(LHPF2, ARIZONA_HPLP2MIX_INPUT_1_SOURCE); | 237 | ARIZONA_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), |
375 | SND_SOC_DAPM_PGA("DRC1R", ARIZONA_DRC1_CTRL1, ARIZONA_DRC1R_ENA_SHIFT, 0, | 369 | SND_SOC_DAPM_PGA("DRC1R", ARIZONA_DRC1_CTRL1, ARIZONA_DRC1R_ENA_SHIFT, 0, |
376 | NULL, 0), | 370 | NULL, 0), |
377 | SND_SOC_DAPM_PGA("DRC2L", ARIZONA_DRC2_CTRL1, ARIZONA_DRC2L_ENA_SHIFT, 0, | ||
378 | NULL, 0), | ||
379 | SND_SOC_DAPM_PGA("DRC2R", ARIZONA_DRC2_CTRL1, ARIZONA_DRC2R_ENA_SHIFT, 0, | ||
380 | NULL, 0), | ||
381 | 371 | ||
382 | SND_SOC_DAPM_PGA("LHPF1", ARIZONA_HPLPF1_1, ARIZONA_LHPF1_ENA_SHIFT, 0, | 372 | SND_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 | ||
495 | ARIZONA_MIXER_WIDGETS(DRC1L, "DRC1L"), | 485 | ARIZONA_MIXER_WIDGETS(DRC1L, "DRC1L"), |
496 | ARIZONA_MIXER_WIDGETS(DRC1R, "DRC1R"), | 486 | ARIZONA_MIXER_WIDGETS(DRC1R, "DRC1R"), |
497 | ARIZONA_MIXER_WIDGETS(DRC2L, "DRC2L"), | ||
498 | ARIZONA_MIXER_WIDGETS(DRC2R, "DRC2R"), | ||
499 | 487 | ||
500 | ARIZONA_MIXER_WIDGETS(LHPF1, "LHPF1"), | 488 | ARIZONA_MIXER_WIDGETS(LHPF1, "LHPF1"), |
501 | ARIZONA_MIXER_WIDGETS(LHPF2, "LHPF2"), | 489 | ARIZONA_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"), |