]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit47be3d66b9fa257004a1418e1652d8cef36144b8
tree2c8f61a248a7fc59f028882f0e3bd6bab4fad344
parent0b38bd6506671f1bc14dc1c624dbb3af2024d4e7
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: 9a1cb1e8c51d ("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