ASoC: amd: update pm_runtime enable sequence
authorArun Gopal Kondaveeti <arungopal.kondaveeti@amd.com>
Fri, 23 Jun 2023 21:41:40 +0000 (03:11 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 23 Jun 2023 10:07:39 +0000 (11:07 +0100)
commit154756319cc6f8b8b86241da02da6a8fcc6abd1f
treef335cb799c47a28dd911709a82f7ce92785b8895
parentfcb66ee8d16aa0f88efcc9cb41083c0412e9db8a
ASoC: amd: update pm_runtime enable sequence

pm_runtime_allow() is not needed for ACP child platform devices.
Replace pm_runtime_allow() with pm_runtime_mark_last_busy()
& pm_runtime_set_active() in pm_runtime enable sequence for
ACP child platform drivers.

Signed-off-by: Arun Gopal <arungopal.kondaveeti@amd.com>
Link: https://lore.kernel.org/r/Message-Id:
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/ps/ps-pdm-dma.c
sound/soc/amd/raven/acp3x-pcm-dma.c
sound/soc/amd/renoir/acp3x-pdm-dma.c
sound/soc/amd/vangogh/acp5x-pcm-dma.c
sound/soc/amd/yc/acp6x-pdm-dma.c