mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-29 14:05:05 -04:00
ASoC: amd: acp: Add pm ops callback in machine driver
Add alsa snd_soc_pm_ops callback in ACP machine driver to support suspend and resume operation of sound card components Signed-off-by: Ajit Kumar Pandey <AjitKumar.Pandey@amd.com> Link: https://lore.kernel.org/r/20220420094442.1352717-1-AjitKumar.Pandey@amd.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
committed by
Mark Brown
parent
2ad1e059cb
commit
fbae863de8
@@ -131,6 +131,7 @@ static const struct platform_device_id board_ids[] = {
|
||||
};
|
||||
static struct platform_driver acp_asoc_audio = {
|
||||
.driver = {
|
||||
.pm = &snd_soc_pm_ops,
|
||||
.name = "acp_mach",
|
||||
},
|
||||
.probe = acp_asoc_probe,
|
||||
|
||||
@@ -144,6 +144,7 @@ static const struct platform_device_id board_ids[] = {
|
||||
static struct platform_driver acp_asoc_audio = {
|
||||
.driver = {
|
||||
.name = "sof_mach",
|
||||
.pm = &snd_soc_pm_ops,
|
||||
},
|
||||
.probe = acp_sof_probe,
|
||||
.id_table = board_ids,
|
||||
|
||||
Reference in New Issue
Block a user