]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Filter out unneeded core power up/downs
authorBard Liao <yung-chuan.liao@linux.intel.com>
Thu, 28 Jan 2021 09:38:49 +0000 (11:38 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 28 Jan 2021 17:11:37 +0000 (17:11 +0000)
commit3c6fd3e6a5b9f494841f478cffc8dbf97a89ebe8
treecc2d0dccb570e2fc094a3c03422851c9b75bcb42
parent512fc4901bd1f9478badd4670cf9aa37e10ea323
ASoC: SOF: Filter out unneeded core power up/downs

Exclude cores that are already powered on/off correctly. This allows to
simplify dsp_power_up/down() implementations and avoid unexpected error.

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