aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8994.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-11-30 11:59:29 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-12-01 06:46:10 -0500
commitb2822a8c22d13bc8c441e1c0492baa40ae974b51 (patch)
tree39425bae745137b5f673d828d41009ba9f6d3ec9 /sound/soc/codecs/wm8994.c
parent97884b7a7867fa9926a0711035cefaa4d0aafda4 (diff)
ASoC: Correct event flags for WM8958 AIF DACs
We need a post notification as we need to shut down the MBC after the data stops flowing rather than before. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/soc/codecs/wm8994.c')
-rw-r--r--sound/soc/codecs/wm8994.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index bfd4cf4fde5f..51f5cf16b425 100644
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -1205,10 +1205,10 @@ SND_SOC_DAPM_AIF_OUT("AIF1ADC1R", "AIF1 Capture",
1205 0, WM8994_POWER_MANAGEMENT_4, 8, 0), 1205 0, WM8994_POWER_MANAGEMENT_4, 8, 0),
1206SND_SOC_DAPM_AIF_IN_E("AIF1DAC1L", NULL, 0, 1206SND_SOC_DAPM_AIF_IN_E("AIF1DAC1L", NULL, 0,
1207 WM8994_POWER_MANAGEMENT_5, 9, 0, wm8958_aif_ev, 1207 WM8994_POWER_MANAGEMENT_5, 9, 0, wm8958_aif_ev,
1208 SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD), 1208 SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_POST_PMD),
1209SND_SOC_DAPM_AIF_IN_E("AIF1DAC1R", NULL, 0, 1209SND_SOC_DAPM_AIF_IN_E("AIF1DAC1R", NULL, 0,
1210 WM8994_POWER_MANAGEMENT_5, 8, 0, wm8958_aif_ev, 1210 WM8994_POWER_MANAGEMENT_5, 8, 0, wm8958_aif_ev,
1211 SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD), 1211 SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_POST_PMD),
1212 1212
1213SND_SOC_DAPM_AIF_OUT("AIF1ADC2L", "AIF1 Capture", 1213SND_SOC_DAPM_AIF_OUT("AIF1ADC2L", "AIF1 Capture",
1214 0, WM8994_POWER_MANAGEMENT_4, 11, 0), 1214 0, WM8994_POWER_MANAGEMENT_4, 11, 0),
@@ -1216,10 +1216,10 @@ SND_SOC_DAPM_AIF_OUT("AIF1ADC2R", "AIF1 Capture",
1216 0, WM8994_POWER_MANAGEMENT_4, 10, 0), 1216 0, WM8994_POWER_MANAGEMENT_4, 10, 0),
1217SND_SOC_DAPM_AIF_IN_E("AIF1DAC2L", NULL, 0, 1217SND_SOC_DAPM_AIF_IN_E("AIF1DAC2L", NULL, 0,
1218 WM8994_POWER_MANAGEMENT_5, 11, 0, wm8958_aif_ev, 1218 WM8994_POWER_MANAGEMENT_5, 11, 0, wm8958_aif_ev,
1219 SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD), 1219 SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_POST_PMD),
1220SND_SOC_DAPM_AIF_IN_E("AIF1DAC2R", NULL, 0, 1220SND_SOC_DAPM_AIF_IN_E("AIF1DAC2R", NULL, 0,
1221 WM8994_POWER_MANAGEMENT_5, 10, 0, wm8958_aif_ev, 1221 WM8994_POWER_MANAGEMENT_5, 10, 0, wm8958_aif_ev,
1222 SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD), 1222 SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_POST_PMD),
1223 1223
1224SND_SOC_DAPM_MIXER("AIF1ADC1L Mixer", SND_SOC_NOPM, 0, 0, 1224SND_SOC_DAPM_MIXER("AIF1ADC1L Mixer", SND_SOC_NOPM, 0, 0,
1225 aif1adc1l_mix, ARRAY_SIZE(aif1adc1l_mix)), 1225 aif1adc1l_mix, ARRAY_SIZE(aif1adc1l_mix)),