Skip to contentSkip to conversation

ASoC: amd: renoir: Run hibernation callbacks

PATCH New Mario Limonciello 1 participant 1 message Jul 22, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ASoC: amd: renoir: Run hibernation callbacks

The registers need to be re-initialized after hibernation or microphone may be non-functional.

---
 sound/soc/amd/renoir/rn-pci-acp3x.c | 2 ++
 1 file changed, 2 insertions(+)

v1-> v2:
* Resend as a separate patch from threaded series

sound/soc/amd/renoir/rn-pci-acp3x.c +2 -0
index 19438da5dfa5..7b8040e812a1 100644
@@ -382,6 +382,8 @@ static const struct dev_pm_ops rn_acp_pm = {
 	.runtime_resume =  snd_rn_acp_resume,
 	.suspend = snd_rn_acp_suspend,
 	.resume =	snd_rn_acp_resume,
+	.restore =	snd_rn_acp_resume,
+	.poweroff =	snd_rn_acp_suspend,
 };
 
 static void snd_rn_acp_remove(struct pci_dev *pci)
Signature · 1 line
2.25.1