]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
soundwire: amd: serialize amd manager resume sequence during pm_prepare
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>
Fri, 30 May 2025 05:43:40 +0000 (11:13 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:28:28 +0000 (16:28 +0200)
commit1e36975785675b808bf57f04e16c63fac0ead75a
tree17f2f2764574acba2c2f1a88f4740a242b649186
parentd2974cfd4fa6ba034447e0ebde76f036d87bb20e
soundwire: amd: serialize amd manager resume sequence during pm_prepare

[ Upstream commit 03837341790039d6f1cbf7a1ae7dfa2cb77ef0a4 ]

During pm_prepare callback, pm_request_resume() delays SoundWire manager D0
entry sequence. Synchronize runtime resume sequence for amd_manager
instance prior to invoking child devices resume sequence for both the amd
power modes(ClockStop Mode and Power off mode).
Change the power_mode_mask check and use pm_runtime_resume() in
amd_pm_prepare() callback.

Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://lore.kernel.org/r/20250530054447.1645807-3-Vijendar.Mukunda@amd.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/soundwire/amd_manager.c