[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210722132636.13072-1-mario.limonciello@amd.com>
Date: Thu, 22 Jul 2021 08:26:33 -0500
From: Mario Limonciello <mario.limonciello@....com>
To: broonie@...nel.org, alsa-devel@...a-project.org,
Vijendar.Mukunda@....com
Cc: Mario Limonciello <mario.limonciello@....com>,
Liam Girdwood <lgirdwood@...il.com>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Mark Pearson <markpearson@...ovo.com>,
Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>,
linux-kernel@...r.kernel.org (open list)
Subject: [PATCH v2] 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@....com>
---
sound/soc/amd/renoir/rn-pci-acp3x.c | 2 ++
1 file changed, 2 insertions(+)
v1-> v2:
* Resend as a separate patch from threaded series
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)
--
2.25.1
Powered by blists - more mailing lists