]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Intel: hda-loader: Make sure that the fw load sequence is followed
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Thu, 9 Jun 2022 08:59:48 +0000 (11:59 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 24 Jun 2022 15:21:38 +0000 (16:21 +0100)
commit9dd378d4ca3c7c25196cb40ad6acc6e6d2d7137b
treebd429b5b130ce38459ed8e63f5c047d9791d3d77
parent80ff8a0550a32fd98d8e47b04970335184585ef4
ASoC: SOF: Intel: hda-loader: Make sure that the fw load sequence is followed

The hda_dsp_enable_core() is powering up _and_ unstall the core in one
call while the first step of the firmware loading  must not unstall the
core.
The core can be unstalled only after the set cpb_cfp and the configuration
of the IPC register for the ROM_CONTROL message.

Complements: 29caf2a7ac45 ("ASoC: SOF: Intel: hda: Revisit IMR boot sequence")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20220609085949.29062-3-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-loader.c