[0/4] ASoC: SOF: Intel: only use D0i3 if needed
mbox series

Message ID 20191111223343.19986-1-pierre-louis.bossart@linux.intel.com
Headers show
Series
  • ASoC: SOF: Intel: only use D0i3 if needed
Related show

Message

Pierre-Louis Bossart Nov. 11, 2019, 10:33 p.m. UTC
The earlier patches for D0i3/S0ix support went one bridge too far, and
forced the use of D0i3 even when it was not needed, which also had the
side effect of breaking some of our s2idle suspend/resume stress
tests.

Add documentation on supported transitions and only use D0i3 if
necessary.

Keyon Jie (4):
  ASoC: SOF: PM: add state machine to comments
  ASoC: SOF: PM: add check before setting d0_substate
  ASoC: SOF: add helper to check if we should enter d0i3 suspend
  ASoC: SOF: PM: only suspend to D0I3 when needed

 sound/soc/sof/core.c     | 13 +++++++++++++
 sound/soc/sof/pm.c       | 39 +++++++++++++++++++++++++++++++++++++--
 sound/soc/sof/sof-priv.h |  2 ++
 3 files changed, 52 insertions(+), 2 deletions(-)