]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: PM: only suspend to D0I3 when needed
authorKeyon Jie <yang.jie@linux.intel.com>
Mon, 11 Nov 2019 22:33:43 +0000 (16:33 -0600)
committerMark Brown <broonie@kernel.org>
Tue, 12 Nov 2019 12:10:59 +0000 (12:10 +0000)
commit012b5f715f1d724e77bde0343ac1d71eb8e73d69
tree59e4b6ee000af8db6dcbef185d97a9b2a01c236d
parenta33593313f8776a74814e8e27c95850854308c3a
ASoC: SOF: PM: only suspend to D0I3 when needed

We should suspend audio to D3 by default, for the sake of power saving,
change the condition of D0I3 suspending here to that when there is
stream with suspend_ignored specified.

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-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/pm.c