diff options
author | Dharageswari R <dharageswari.r@intel.com> | 2016-06-03 14:59:39 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-06-07 15:19:11 +0200 |
commit | fe3f4442e2166453f68f0995fd4a95e98c0cd1c9 (patch) | |
tree | ec0fdcb932947f07500034c063121f9c9e264317 /sound/soc/intel/skylake/skl-sst-ipc.h | |
parent | ASoC: Intel: Skylake: Avoid freeing up of unallocated memory/mcps (diff) | |
download | linux-fe3f4442e2166453f68f0995fd4a95e98c0cd1c9.tar.xz linux-fe3f4442e2166453f68f0995fd4a95e98c0cd1c9.zip |
ASoC: Intel: Skylake: Clean up of driver resources in suspend
On suspend firmware is re-initialized so resources are reset inside
firmware. Driver should also clear the firmware counters at this time.
Signed-off-by: Dharageswari R <dharageswari.r@intel.com>
Signed-off-by: Jeeja KP <jeeja.kp@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/skylake/skl-sst-ipc.h')
-rw-r--r-- | sound/soc/intel/skylake/skl-sst-ipc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/skl-sst-ipc.h b/sound/soc/intel/skylake/skl-sst-ipc.h index 7b55182b7895..9f24261abf3e 100644 --- a/sound/soc/intel/skylake/skl-sst-ipc.h +++ b/sound/soc/intel/skylake/skl-sst-ipc.h @@ -139,5 +139,6 @@ void skl_ipc_int_disable(struct sst_dsp *dsp); bool skl_ipc_int_status(struct sst_dsp *dsp); void skl_ipc_free(struct sst_generic_ipc *ipc); int skl_ipc_init(struct device *dev, struct skl_sst *skl); +void skl_clear_module_cnt(struct sst_dsp *ctx); #endif /* __SKL_IPC_H */ |