]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit97cd6ca202756c3164920677cd8dfad6002716d7
tree5f07ac5e85895c7775e479ceec0adab5f4f40358
parent769e9e220b1ede078d35ecdbcbd533bb90e66c37
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