]> 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)
commit6be5c93df45382683a076ef0b5fd52938ab0bb2b
tree59e4b6ee000af8db6dcbef185d97a9b2a01c236d
parent7de77916ea096c3e8f07738ba8b73d1f3da1a3e1
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