Commit 7367d309 authored by Keyon Jie's avatar Keyon Jie Committed by Mark Brown

ASoC: SOF: add a flag to indicate the system suspend target

Add flag 's0_suspend' to indicate if the system is entering S0ix or
not.
Signed-off-by: default avatarKeyon Jie <yang.jie@linux.intel.com>
Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191025224122.7718-20-pierre-louis.bossart@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 0267de58
...@@ -398,6 +398,8 @@ struct snd_sof_dev { ...@@ -398,6 +398,8 @@ struct snd_sof_dev {
/* power states related */ /* power states related */
enum sof_d0_substate d0_substate; enum sof_d0_substate d0_substate;
/* flag to track if the intended power target of suspend is S0ix */
bool s0_suspend;
/* DSP firmware boot */ /* DSP firmware boot */
wait_queue_head_t boot_wait; wait_queue_head_t boot_wait;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment