ASoC: Intel: Wait Baytrail ADSP boot at resume_early stage
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Mon, 11 Aug 2014 11:15:37 +0000 (14:15 +0300)
committerMark Brown <broonie@linaro.org>
Mon, 11 Aug 2014 12:40:23 +0000 (13:40 +0100)
commit9246539bdda4206c53be1045778b642f1c8137e4
treea63d992efab421442ba51c6989d94649e20ddaad
parent27d3f02689cce5c4063a4f8dd88ce19d08a33fe6
ASoC: Intel: Wait Baytrail ADSP boot at resume_early stage

Remove sst_byt_pcm_dev_resume() and move waiting of firmware boot into
sst_byt_pcm_dev_resume_early(). Now suspend_late and resume_early phases are
in sync with each other so that we know that ADSP was put into reset and was
unpowered after suspend_late and is ready to resume IO after resume_early
during resume stage in sst_byt_pcm_trigger().

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Tested-by: Borun Fu <borun.fu@intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/intel/sst-baytrail-pcm.c