diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-05-14 20:21:28 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-05-16 11:54:20 -0400 |
commit | d0b48af6c2b887354d0893e598d92911ce52620e (patch) | |
tree | 18456bd76b59dda23b1e814c8cf9dc9e7facb69a /sound/soc | |
parent | 25709f6d83cc23d6f2912194c77ebf850310223e (diff) |
ASoC: Ensure output PGA is enabled for line outputs in wm_hubs
Also fix a left/right typo while we're at it.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com.
Cc: stable@kernel.org
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/wm_hubs.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sound/soc/codecs/wm_hubs.c b/sound/soc/codecs/wm_hubs.c index 4005e9af5d61..c7c2fec482a6 100644 --- a/sound/soc/codecs/wm_hubs.c +++ b/sound/soc/codecs/wm_hubs.c | |||
@@ -787,17 +787,17 @@ static const struct snd_soc_dapm_route analogue_routes[] = { | |||
787 | static const struct snd_soc_dapm_route lineout1_diff_routes[] = { | 787 | static const struct snd_soc_dapm_route lineout1_diff_routes[] = { |
788 | { "LINEOUT1 Mixer", "IN1L Switch", "IN1L PGA" }, | 788 | { "LINEOUT1 Mixer", "IN1L Switch", "IN1L PGA" }, |
789 | { "LINEOUT1 Mixer", "IN1R Switch", "IN1R PGA" }, | 789 | { "LINEOUT1 Mixer", "IN1R Switch", "IN1R PGA" }, |
790 | { "LINEOUT1 Mixer", "Output Switch", "Left Output Mixer" }, | 790 | { "LINEOUT1 Mixer", "Output Switch", "Left Output PGA" }, |
791 | 791 | ||
792 | { "LINEOUT1N Driver", NULL, "LINEOUT1 Mixer" }, | 792 | { "LINEOUT1N Driver", NULL, "LINEOUT1 Mixer" }, |
793 | { "LINEOUT1P Driver", NULL, "LINEOUT1 Mixer" }, | 793 | { "LINEOUT1P Driver", NULL, "LINEOUT1 Mixer" }, |
794 | }; | 794 | }; |
795 | 795 | ||
796 | static const struct snd_soc_dapm_route lineout1_se_routes[] = { | 796 | static const struct snd_soc_dapm_route lineout1_se_routes[] = { |
797 | { "LINEOUT1N Mixer", "Left Output Switch", "Left Output Mixer" }, | 797 | { "LINEOUT1N Mixer", "Left Output Switch", "Left Output PGA" }, |
798 | { "LINEOUT1N Mixer", "Right Output Switch", "Left Output Mixer" }, | 798 | { "LINEOUT1N Mixer", "Right Output Switch", "Right Output PGA" }, |
799 | 799 | ||
800 | { "LINEOUT1P Mixer", "Left Output Switch", "Left Output Mixer" }, | 800 | { "LINEOUT1P Mixer", "Left Output Switch", "Left Output PGA" }, |
801 | 801 | ||
802 | { "LINEOUT1N Driver", NULL, "LINEOUT1N Mixer" }, | 802 | { "LINEOUT1N Driver", NULL, "LINEOUT1N Mixer" }, |
803 | { "LINEOUT1P Driver", NULL, "LINEOUT1P Mixer" }, | 803 | { "LINEOUT1P Driver", NULL, "LINEOUT1P Mixer" }, |
@@ -806,17 +806,17 @@ static const struct snd_soc_dapm_route lineout1_se_routes[] = { | |||
806 | static const struct snd_soc_dapm_route lineout2_diff_routes[] = { | 806 | static const struct snd_soc_dapm_route lineout2_diff_routes[] = { |
807 | { "LINEOUT2 Mixer", "IN2L Switch", "IN2L PGA" }, | 807 | { "LINEOUT2 Mixer", "IN2L Switch", "IN2L PGA" }, |
808 | { "LINEOUT2 Mixer", "IN2R Switch", "IN2R PGA" }, | 808 | { "LINEOUT2 Mixer", "IN2R Switch", "IN2R PGA" }, |
809 | { "LINEOUT2 Mixer", "Output Switch", "Right Output Mixer" }, | 809 | { "LINEOUT2 Mixer", "Output Switch", "Right Output PGA" }, |
810 | 810 | ||
811 | { "LINEOUT2N Driver", NULL, "LINEOUT2 Mixer" }, | 811 | { "LINEOUT2N Driver", NULL, "LINEOUT2 Mixer" }, |
812 | { "LINEOUT2P Driver", NULL, "LINEOUT2 Mixer" }, | 812 | { "LINEOUT2P Driver", NULL, "LINEOUT2 Mixer" }, |
813 | }; | 813 | }; |
814 | 814 | ||
815 | static const struct snd_soc_dapm_route lineout2_se_routes[] = { | 815 | static const struct snd_soc_dapm_route lineout2_se_routes[] = { |
816 | { "LINEOUT2N Mixer", "Left Output Switch", "Left Output Mixer" }, | 816 | { "LINEOUT2N Mixer", "Left Output Switch", "Left Output PGA" }, |
817 | { "LINEOUT2N Mixer", "Right Output Switch", "Left Output Mixer" }, | 817 | { "LINEOUT2N Mixer", "Right Output Switch", "Right Output PGA" }, |
818 | 818 | ||
819 | { "LINEOUT2P Mixer", "Right Output Switch", "Right Output Mixer" }, | 819 | { "LINEOUT2P Mixer", "Right Output Switch", "Right Output PGA" }, |
820 | 820 | ||
821 | { "LINEOUT2N Driver", NULL, "LINEOUT2N Mixer" }, | 821 | { "LINEOUT2N Driver", NULL, "LINEOUT2N Mixer" }, |
822 | { "LINEOUT2P Driver", NULL, "LINEOUT2P Mixer" }, | 822 | { "LINEOUT2P Driver", NULL, "LINEOUT2P Mixer" }, |