ASoC: Intel: Skylake: Await purge request ack on CNL
authorCezary Rojewski <cezary.rojewski@intel.com>
Thu, 5 Mar 2020 14:53:14 +0000 (15:53 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 10 Mar 2020 17:44:29 +0000 (17:44 +0000)
commit7693cadac86548b30389a6e11d78c38db654f393
tree2c8f61a248a7fc59f028882f0e3bd6bab4fad344
parent024aa45f55ccd40704cfdef61b2a8b6d0de9cdd1
ASoC: Intel: Skylake: Await purge request ack on CNL

Each purge request is sent by driver after master core is powered up and
unresetted but before it is unstalled. On unstall, ROM begins processing
the request and initializing environment for FW load. Host should await
ROM's ack before moving forward. Without doing so, ROM init poll may
start too early and false timeouts can occur.

Fixes: cb6a55284629 ("ASoC: Intel: cnl: Add sst library functions for cnl platform")
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200305145314.32579-8-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/bxt-sst.c
sound/soc/intel/skylake/cnl-sst.c
sound/soc/intel/skylake/skl-sst-dsp.h