diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-09-11 01:36:17 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-09-14 06:00:07 -0400 |
commit | 32d2a0c17d81016215381d337dad876dc972ee83 (patch) | |
tree | bc41a89e20398c43f6d6e10de14efe41113fda1a /sound/soc/codecs/wm8996.c | |
parent | c83495af6395446b81da54b17a479557ad0b2fc8 (diff) |
ASoC: Correct channel numbers for WM8996 AIF2
The AIF1 channels are numbered from zero than one; do the same thing for
AIF2 too.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'sound/soc/codecs/wm8996.c')
-rw-r--r-- | sound/soc/codecs/wm8996.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/codecs/wm8996.c b/sound/soc/codecs/wm8996.c index 9d0ab87bad9..7280a10d5fe 100644 --- a/sound/soc/codecs/wm8996.c +++ b/sound/soc/codecs/wm8996.c | |||
@@ -1059,14 +1059,14 @@ SND_SOC_DAPM_DAC("DAC2R", NULL, WM8996_POWER_MANAGEMENT_5, 2, 0), | |||
1059 | SND_SOC_DAPM_DAC("DAC1L", NULL, WM8996_POWER_MANAGEMENT_5, 1, 0), | 1059 | SND_SOC_DAPM_DAC("DAC1L", NULL, WM8996_POWER_MANAGEMENT_5, 1, 0), |
1060 | SND_SOC_DAPM_DAC("DAC1R", NULL, WM8996_POWER_MANAGEMENT_5, 0, 0), | 1060 | SND_SOC_DAPM_DAC("DAC1R", NULL, WM8996_POWER_MANAGEMENT_5, 0, 0), |
1061 | 1061 | ||
1062 | SND_SOC_DAPM_AIF_IN("AIF2RX1", "AIF2 Playback", 1, | 1062 | SND_SOC_DAPM_AIF_IN("AIF2RX1", "AIF2 Playback", 0, |
1063 | WM8996_POWER_MANAGEMENT_4, 9, 0), | 1063 | WM8996_POWER_MANAGEMENT_4, 9, 0), |
1064 | SND_SOC_DAPM_AIF_IN("AIF2RX0", "AIF2 Playback", 2, | 1064 | SND_SOC_DAPM_AIF_IN("AIF2RX0", "AIF2 Playback", 1, |
1065 | WM8996_POWER_MANAGEMENT_4, 8, 0), | 1065 | WM8996_POWER_MANAGEMENT_4, 8, 0), |
1066 | 1066 | ||
1067 | SND_SOC_DAPM_AIF_IN("AIF2TX1", "AIF2 Capture", 1, | 1067 | SND_SOC_DAPM_AIF_IN("AIF2TX1", "AIF2 Capture", 0, |
1068 | WM8996_POWER_MANAGEMENT_6, 9, 0), | 1068 | WM8996_POWER_MANAGEMENT_6, 9, 0), |
1069 | SND_SOC_DAPM_AIF_IN("AIF2TX0", "AIF2 Capture", 2, | 1069 | SND_SOC_DAPM_AIF_IN("AIF2TX0", "AIF2 Capture", 1, |
1070 | WM8996_POWER_MANAGEMENT_6, 8, 0), | 1070 | WM8996_POWER_MANAGEMENT_6, 8, 0), |
1071 | 1071 | ||
1072 | SND_SOC_DAPM_AIF_IN("AIF1RX5", "AIF1 Playback", 5, | 1072 | SND_SOC_DAPM_AIF_IN("AIF1RX5", "AIF1 Playback", 5, |