OSDN Git Service

ASoC: SOF: update dsp core power status in common APIs
authorBard Liao <yung-chuan.liao@linux.intel.com>
Thu, 28 Jan 2021 09:38:48 +0000 (11:38 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 28 Jan 2021 17:11:36 +0000 (17:11 +0000)
commit42077f08b3f1ba891dca1f8f479810f16b7d6cbd
tree175ab119122194391d957140ae7402759509263b
parentcedd502d18b5b7a913fa13fa18a037cc51b1798d
ASoC: SOF: update dsp core power status in common APIs

Only manage enabled_cores_mask in common snd_sof_dsp_core_power_up/down
APIs to ensure it stays in sync with actual DSP core state.

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-4-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/loader.c
sound/soc/sof/ops.h
sound/soc/sof/pm.c
sound/soc/sof/topology.c