diff mbox

[v2,2/4] ASoC: Intel: Skylake: Disable async suspend

Message ID 1466604861-24288-3-git-send-email-vinod.koul@intel.com (mailing list archive)
State Accepted
Commit 2e9dc2b645f72dcd528edbad7e35fa34d7204020
Headers show

Commit Message

Vinod Koul June 22, 2016, 2:14 p.m. UTC
We do not support async suspend due to dependency with rest of
card and require suspend/resume be executed synchronously, mark
the device accordingly.

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
---
 sound/soc/intel/skylake/skl.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

diff --git a/sound/soc/intel/skylake/skl.c b/sound/soc/intel/skylake/skl.c
index 734072c79205..720efb9fd995 100644
--- a/sound/soc/intel/skylake/skl.c
+++ b/sound/soc/intel/skylake/skl.c
@@ -668,6 +668,8 @@  static int skl_probe(struct pci_dev *pci,
 
 	skl->pci_id = pci->device;
 
+	device_disable_async_suspend(bus->dev);
+
 	skl->nhlt = skl_nhlt_init(bus->dev);
 
 	if (skl->nhlt == NULL)