summaryrefslogtreecommitdiff
path: root/sound/soc/sof/intel/hda.h
diff options
context:
space:
mode:
authorKeyon Jie <yang.jie@linux.intel.com>2019-11-01 20:09:15 +0300
committerMark Brown <broonie@kernel.org>2019-11-08 15:10:08 +0300
commit16299326a0cbbc88d4d6491a8ceebbfca81064c5 (patch)
treec8f3bf2a18f61c04d88a44fd17e5245a86c3c877 /sound/soc/sof/intel/hda.h
parent8cd73ce7ba6381feb9df763240dee3a6d4aff1ca (diff)
downloadlinux-16299326a0cbbc88d4d6491a8ceebbfca81064c5.tar.xz
ASoC: SOF: Intel: hda: set L1SEN on S0ix suspend
Set L1SEN to make sure the system can enter S0ix, and restore it on resume. 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/20191101170916.26517-3-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/intel/hda.h')
-rw-r--r--sound/soc/sof/intel/hda.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/sof/intel/hda.h b/sound/soc/sof/intel/hda.h
index 5ad73a34b09c..18d7e72bf9b7 100644
--- a/sound/soc/sof/intel/hda.h
+++ b/sound/soc/sof/intel/hda.h
@@ -408,6 +408,9 @@ struct sof_intel_hda_dev {
int irq;
+ /* PM related */
+ bool l1_support_changed;/* during suspend, is L1SEN changed or not */
+
/* DMIC device */
struct platform_device *dmic_dev;
};