ASoC: amd: ps: enable wake capability for acp pci driver
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>
Tue, 17 Oct 2023 07:19:36 +0000 (12:49 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 17 Oct 2023 11:59:17 +0000 (12:59 +0100)
Enable wake capability for acp pci driver for Pink Sardine
platform.

Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://lore.kernel.org/r/20231017071939.953343-1-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/ps/pci-ps.c

index 7e4c0ec9e56ccd9444ea80c461e72a43dc40e4b9..5927eef04170011d345729357950874eb8e5341f 100644 (file)
@@ -650,6 +650,7 @@ static int snd_acp63_probe(struct pci_dev *pci,
                goto de_init;
        }
 skip_pdev_creation:
+       device_set_wakeup_enable(&pci->dev, true);
        pm_runtime_set_autosuspend_delay(&pci->dev, ACP_SUSPEND_DELAY_MS);
        pm_runtime_use_autosuspend(&pci->dev);
        pm_runtime_put_noidle(&pci->dev);