ASoC: SOF: intel: hda-loader: use snd_sof_dsp_core_power_down/up APIs
authorBard Liao <yung-chuan.liao@linux.intel.com>
Thu, 28 Jan 2021 09:38:50 +0000 (11:38 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 28 Jan 2021 17:11:38 +0000 (17:11 +0000)
commit92c6ec606cd12c16091b70442da536bdeddb1f7f
tree0f2bc6ae529420fd14f6bbef2c898694b78c3a14
parent30876e2a06f35b525dc71f94dfc3c6f329e55a28
ASoC: SOF: intel: hda-loader: use snd_sof_dsp_core_power_down/up APIs

To manage enabled_cores_mask flag, we should always use snd_sof_dsp_
core_power_down/up APIs to power up/down dsp cores. The APIs do
a little bit more than the original functions, but it is harmless.

Suggested-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20210128093850.1041387-6-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-loader.c