summaryrefslogtreecommitdiffstats
path: root/sound/soc/amd/ps
diff options
context:
space:
mode:
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>2023-10-17 12:49:36 +0530
committerMark Brown <broonie@kernel.org>2023-10-17 12:59:17 +0100
commit70227e1574e47a759422beec78675f1c19e56e25 (patch)
tree4ab751f83eb48325836e6605c8c585a689c42d3a /sound/soc/amd/ps
parent086357275fc7635c5a2856c667b3d2f7604403fa (diff)
downloadlinux-70227e1574e47a759422beec78675f1c19e56e25.tar.gz
linux-70227e1574e47a759422beec78675f1c19e56e25.tar.bz2
linux-70227e1574e47a759422beec78675f1c19e56e25.zip
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 <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>
Diffstat (limited to 'sound/soc/amd/ps')
-rw-r--r--sound/soc/amd/ps/pci-ps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/amd/ps/pci-ps.c b/sound/soc/amd/ps/pci-ps.c
index 7e4c0ec9e56c..5927eef04170 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);