]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: add helper to check if we should enter d0i3 suspend
authorKeyon Jie <yang.jie@linux.intel.com>
Mon, 11 Nov 2019 22:33:42 +0000 (16:33 -0600)
committerMark Brown <broonie@kernel.org>
Tue, 12 Nov 2019 12:10:40 +0000 (12:10 +0000)
commit7de77916ea096c3e8f07738ba8b73d1f3da1a3e1
tree90420ae09c430fc74b7dc460b2b70e898d9b77c8
parent5a8589f3d0d6499a33544759b56029d8998a9ffb
ASoC: SOF: add helper to check if we should enter d0i3 suspend

Add helper to check if the DSP should be put in D0i3. This function
returns true if a stream has ignored the SUSPEND trigger to keep the
pipelines running in the DSP.

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191111223343.19986-4-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/core.c
sound/soc/sof/sof-priv.h