projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0267de5
)
ASoC: SOF: add a flag to indicate the system suspend target
author
Keyon Jie
<yang.jie@linux.intel.com>
Fri, 25 Oct 2019 22:41:15 +0000
(17:41 -0500)
committer
Mark Brown
<broonie@kernel.org>
Mon, 28 Oct 2019 14:44:55 +0000
(14:44 +0000)
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>
sound/soc/sof/sof-priv.h
patch
|
blob
|
history
diff --git
a/sound/soc/sof/sof-priv.h
b/sound/soc/sof/sof-priv.h
index 2231c673c67880bbe683d3ae94017ad24b5cb578..e715673f20e58489d15381d367c557ac7ae757a6 100644
(file)
--- 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;