ASoC: Intel: Add Baytrail suspend/resume support
authorLiam Girdwood <liam.r.girdwood@linux.intel.com>
Thu, 8 May 2014 13:07:26 +0000 (16:07 +0300)
committerMark Brown <broonie@linaro.org>
Mon, 12 May 2014 21:02:18 +0000 (22:02 +0100)
commitaf94aa558be506c5afe106e8cf34362bfce221aa
treed53557da737bb0840b47b685e5b908f9ef774a3f
parent609a13e5c9229ad4f5c78eeb1aefd583fdee9e58
ASoC: Intel: Add Baytrail suspend/resume support

Add suspend and resume support to Baytrail SST DSP. This is implemented by
unloading firmware modules and putting DSP into reset prior suspend and
restarting DSP again in normal boot state after resume.

Context restore for running streams is implemented by scheduling a work from
sst_byt_pcm_trigger() that will allocate a stream with existing parameters
and start it from last known buffer position before suspend.

[Jarkko: Squashed together 5 WIP patches from Liam and 1 from me]

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/intel/sst-baytrail-ipc.c
sound/soc/intel/sst-baytrail-ipc.h
sound/soc/intel/sst-baytrail-pcm.c
This page took 0.025724 seconds and 5 git commands to generate.