diff options
author | Vinod Koul <vinod.koul@intel.com> | 2015-02-12 09:59:58 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-02-24 00:43:59 +0900 |
commit | 54e6beccc67129c474aad7578951112c6cf28e01 (patch) | |
tree | 0580dd14b05ba933c9fb6f918476e900c22f8230 /sound/soc/intel/sst-mfld-platform.h | |
parent | fc9406ab9b4a9aac0ab9ad213993824cbe9c65ac (diff) | |
download | linux-54e6beccc67129c474aad7578951112c6cf28e01.tar.bz2 |
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.h | 1 |
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); |