ASoC: amd: ps: fix for acp pme wake for soundwire configuration
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>
Wed, 14 Feb 2024 10:40:04 +0000 (16:10 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 19 Feb 2024 17:02:14 +0000 (17:02 +0000)
commitc76f3b1f9b9ae20f8c944bb01c395329d525a917
treed821d58fb12720f3a8dd08aeb8c45fbfd8caf076
parent3c697ced399cac295c34c9611f05d04f4c951aa9
ASoC: amd: ps: fix for acp pme wake for soundwire configuration

Consider the below scenario, When ACP and SoundWire managers are in
D3 state and SoundWire manager power off mode is selected and acp and
SoundWire manager instances are in runtime suspended state.

In this case, for the ACP PME wake event, the ACP PCI driver should resume
SoundWire manager devices based on wake enable status set.

Add code for handling ACP PME wake event for runtime suspend scenario
when SoundWire power off mode is selected.

Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://msgid.link/r/20240214104014.1144668-4-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/ps/pci-ps.c