From: Keyon Jie Date: Fri, 25 Oct 2019 22:41:15 +0000 (-0500) Subject: ASoC: SOF: add a flag to indicate the system suspend target X-Git-Tag: v5.10.7~3493^2~20^2~155 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7367d3096b1443e55a2c730d1966f423b15d5cad;p=platform%2Fkernel%2Flinux-rpi.git 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: Keyon Jie Signed-off-by: Pierre-Louis Bossart Link: https://lore.kernel.org/r/20191025224122.7718-20-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/sof/sof-priv.h b/sound/soc/sof/sof-priv.h index 2231c67..e715673 100644 --- a/sound/soc/sof/sof-priv.h +++ b/sound/soc/sof/sof-priv.h @@ -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;