ASoC: Intel: Skylake: Disable async suspend
authorVinod Koul <vinod.koul@intel.com>
Wed, 22 Jun 2016 14:14:19 +0000 (19:44 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 22 Jun 2016 15:01:05 +0000 (16:01 +0100)
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>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl.c

index 734072c79205b1f9e6710530e3e8f68e2ea2ac07..720efb9fd995f087f2f621a1a410fcbd387baa3a 100644 (file)
@@ -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)