diff options
author | Keyon Jie <yang.jie@linux.intel.com> | 2019-10-26 01:41:15 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-10-28 17:44:55 +0300 |
commit | 7367d3096b1443e55a2c730d1966f423b15d5cad (patch) | |
tree | aaa30d4305bd41fac618d5e5f7bfe0d0bac16520 | |
parent | 0267de58acfe5059ace739741f1533dd605ed22f (diff) | |
download | linux-7367d3096b1443e55a2c730d1966f423b15d5cad.tar.xz |
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 <yang.jie@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191025224122.7718-20-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/sof/sof-priv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/sof/sof-priv.h b/sound/soc/sof/sof-priv.h index 2231c673c678..e715673f20e5 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; |