ASoC: AMD: Restore PME_EN state at Power On
authorAkshu Agrawal <akshu.agrawal@amd.com>
Fri, 24 Jul 2020 19:55:52 +0000 (01:25 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 27 Jul 2020 13:21:08 +0000 (14:21 +0100)
commit1255296cf0233780b7b9af90f374983fbcdef7bb
tree5f07ac5e85895c7775e479ceec0adab5f4f40358
parent3aecfc72d7ad73330e7a6ebd0005738a8fd417ab
ASoC: AMD: Restore PME_EN state at Power On

PME_EN state needs to restored to the value set by fmw.
For the devices which are not using I2S wake event which gets
enabled by PME_EN bit, keeping PME_EN enabled burns considerable amount
of power as it blocks low power state.
For the devices using I2S wake event, PME_EN gets enabled in fmw and the
state should be maintained after ACP Power On.

Signed-off-by: Akshu Agrawal <akshu.agrawal@amd.com>
Link: https://lore.kernel.org/r/20200724195600.11798-1-akshu.agrawal@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/raven/pci-acp3x.c