From 4031802c9ca18b9f678e6a796b6693baa9fb20b9 Mon Sep 17 00:00:00 2001 From: Misael Lopez Cruz Date: Fri, 29 Jul 2011 03:07:32 -0500 Subject: ASoC: DSP: Add suspend/resume for FEs Currently, FEs were suspending/resuming their BE clients but were not suspending/resuming themselves. Change-Id: Ic23b23755ebace644604f37d73c6849166428862 Signed-off-by: Misael Lopez Cruz --- include/sound/soc-dsp.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'include/sound') diff --git a/include/sound/soc-dsp.h b/include/sound/soc-dsp.h index fd655f9..d3c86f8 100644 --- a/include/sound/soc-dsp.h +++ b/include/sound/soc-dsp.h @@ -104,12 +104,10 @@ int soc_dsp_runtime_update(struct snd_soc_dapm_widget *widget); /* Backend DSP suspend and resume */ int soc_dsp_be_digital_mute(struct snd_soc_pcm_runtime *fe, int mute); -int soc_dsp_be_cpu_dai_suspend(struct snd_soc_pcm_runtime *fe); +int soc_dsp_fe_suspend(struct snd_soc_pcm_runtime *fe); int soc_dsp_be_ac97_cpu_dai_suspend(struct snd_soc_pcm_runtime *fe); -int soc_dsp_be_platform_suspend(struct snd_soc_pcm_runtime *fe); -int soc_dsp_be_cpu_dai_resume(struct snd_soc_pcm_runtime *fe); +int soc_dsp_fe_resume(struct snd_soc_pcm_runtime *fe); int soc_dsp_be_ac97_cpu_dai_resume(struct snd_soc_pcm_runtime *fe); -int soc_dsp_be_platform_resume(struct snd_soc_pcm_runtime *fe); /* DAPM stream events for Backend DSP paths */ int soc_dsp_dapm_stream_event(struct snd_soc_pcm_runtime *fe, -- cgit v1.1