From: Vijendar Mukunda Date: Tue, 17 Oct 2023 07:19:36 +0000 (+0530) Subject: ASoC: amd: ps: enable wake capability for acp pci driver X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=70227e1574e47a759422beec78675f1c19e56e25;p=users%2Fjedix%2Flinux-maple.git ASoC: amd: ps: enable wake capability for acp pci driver Enable wake capability for acp pci driver for Pink Sardine platform. Signed-off-by: Vijendar Mukunda Link: https://lore.kernel.org/r/20231017071939.953343-1-Vijendar.Mukunda@amd.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/amd/ps/pci-ps.c b/sound/soc/amd/ps/pci-ps.c index 7e4c0ec9e56cc..5927eef041700 100644 --- a/sound/soc/amd/ps/pci-ps.c +++ b/sound/soc/amd/ps/pci-ps.c @@ -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);