]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita52693a85c7ca35fbcc9c8f4e8ae4af4bff2ffb9
tree0f2bc6ae529420fd14f6bbef2c898694b78c3a14
parent3c6fd3e6a5b9f494841f478cffc8dbf97a89ebe8
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