diff options
author | 2015-02-24 11:39:44 +0530 | |
---|---|---|
committer | 2015-02-24 17:00:34 +0900 | |
commit | 4a8448d4289d7210053a43f9f21e42929beb159b (patch) | |
tree | acc3cb3ca21c065cd473a35bf0f394193b2815b5 /sound/soc/intel/sst/sst.h | |
parent | ASoC: Intel: Add memcpy32_fromio as well (diff) | |
download | linux-dev-4a8448d4289d7210053a43f9f21e42929beb159b.tar.xz linux-dev-4a8448d4289d7210053a43f9f21e42929beb159b.zip |
ASoC: Intel: add pm support in sst ipc driver
This adds support for system pm support. We need to save the dsp memory
which gets lost on suspend and restore that on resume
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 '')
-rw-r--r-- | sound/soc/intel/sst/sst.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/soc/intel/sst/sst.h b/sound/soc/intel/sst/sst.h index f793780a50a2..3f493862e98d 100644 --- a/sound/soc/intel/sst/sst.h +++ b/sound/soc/intel/sst/sst.h @@ -337,6 +337,13 @@ struct sst_shim_regs64 { u64 csr2; }; +struct sst_fw_save { + void *iram; + void *dram; + void *sram; + void *ddr; +}; + /** * struct intel_sst_drv - driver ops * @@ -428,6 +435,8 @@ struct intel_sst_drv { * persistent till worker thread gets called */ char firmware_name[FW_NAME_SIZE]; + + struct sst_fw_save *fw_save; }; /* misc definitions */ |