]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Intel: hda-dsp: Expose hda_dsp_core_power_up()
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Thu, 9 Jun 2022 08:59:47 +0000 (11:59 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 24 Jun 2022 15:21:37 +0000 (16:21 +0100)
commit80ff8a0550a32fd98d8e47b04970335184585ef4
tree702b908142db0c548ed7b4592c88a56eb629a100
parentdd7be7c5e8333c82fe456a884b9b8d3569909198
ASoC: SOF: Intel: hda-dsp: Expose hda_dsp_core_power_up()

The hda_dsp_core_power_up() needs to be exposed so that it can be used in
hda-loader.c to correct the boot flow.
The first step must not unstall the core, it should only power up the
core(s).

Add sanity check for the core_mask while exposing it to be safe.

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-2-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-dsp.c
sound/soc/sof/intel/hda.h