未验证 提交 7367d309 编写于 作者: K Keyon Jie 提交者: 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: NKeyon Jie <yang.jie@linux.intel.com>
Signed-off-by: NPierre-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: NMark Brown <broonie@kernel.org>
上级 0267de58
......@@ -398,6 +398,8 @@ struct snd_sof_dev {
/* power states related */
enum sof_d0_substate d0_substate;
/* flag to track if the intended power target of suspend is S0ix */
bool s0_suspend;
/* DSP firmware boot */
wait_queue_head_t boot_wait;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册