mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
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>
This commit is contained in:
parent
086357275f
commit
70227e1574
@ -650,6 +650,7 @@ static int snd_acp63_probe(struct pci_dev *pci,
|
|||||||
goto de_init;
|
goto de_init;
|
||||||
}
|
}
|
||||||
skip_pdev_creation:
|
skip_pdev_creation:
|
||||||
|
device_set_wakeup_enable(&pci->dev, true);
|
||||||
pm_runtime_set_autosuspend_delay(&pci->dev, ACP_SUSPEND_DELAY_MS);
|
pm_runtime_set_autosuspend_delay(&pci->dev, ACP_SUSPEND_DELAY_MS);
|
||||||
pm_runtime_use_autosuspend(&pci->dev);
|
pm_runtime_use_autosuspend(&pci->dev);
|
||||||
pm_runtime_put_noidle(&pci->dev);
|
pm_runtime_put_noidle(&pci->dev);
|
||||||
|
Loading…
Reference in New Issue
Block a user