diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2021-07-21 21:36:03 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-07-22 14:40:01 +0300 |
commit | d00f541a49406afc2c091aac121e29b3b61480a2 (patch) | |
tree | 8c579f41f704cedfe22b0f22c4f428bb0b09b9e6 | |
parent | 6d20bf7c020f417fdef1810a22da17c126603472 (diff) | |
download | linux-d00f541a49406afc2c091aac121e29b3b61480a2.tar.xz |
ASoC: amd: renoir: Run hibernation callbacks
The registers need to be re-initialized after hibernation or
microphone may be non-functional.
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=213793
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20210721183603.747-2-mario.limonciello@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/amd/renoir/rn-pci-acp3x.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/amd/renoir/rn-pci-acp3x.c b/sound/soc/amd/renoir/rn-pci-acp3x.c index 19438da5dfa5..7b8040e812a1 100644 --- a/sound/soc/amd/renoir/rn-pci-acp3x.c +++ b/sound/soc/amd/renoir/rn-pci-acp3x.c @@ -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) |