OSDN Git Service

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)
commit5e35d5f4224adb24c2bfa814b9fb562050aba3ea
tree59e4b6ee000af8db6dcbef185d97a9b2a01c236d
parenta77e5d573f847d2f984c38eb711351326bc55258
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