aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/sst-mfld-platform.h
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2015-02-12 09:59:58 +0530
committerMark Brown <broonie@kernel.org>2015-02-24 00:43:59 +0900
commit54e6beccc67129c474aad7578951112c6cf28e01 (patch)
tree0580dd14b05ba933c9fb6f918476e900c22f8230 /sound/soc/intel/sst-mfld-platform.h
parentASoC: Intel: add support for pcm stream suspend/resume (diff)
downloadlinux-dev-54e6beccc67129c474aad7578951112c6cf28e01.tar.xz
linux-dev-54e6beccc67129c474aad7578951112c6cf28e01.zip
ASoC: Intel: add support for platform suspend
This adds support for platform suspend and resume. We ensure all pcms are suspended by invoking snd_soc_suspend() and then stop the DSP Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/sst-mfld-platform.h')
-rw-r--r--sound/soc/intel/sst-mfld-platform.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/intel/sst-mfld-platform.h b/sound/soc/intel/sst-mfld-platform.h
index 79c8d1246a8f..9094314be2b0 100644
--- a/sound/soc/intel/sst-mfld-platform.h
+++ b/sound/soc/intel/sst-mfld-platform.h
@@ -174,6 +174,7 @@ struct sst_data {
struct sst_platform_data *pdata;
struct snd_sst_bytes_v2 *byte_stream;
struct mutex lock;
+ struct snd_soc_card *soc_card;
};
int sst_register_dsp(struct sst_device *sst);
int sst_unregister_dsp(struct sst_device *sst);