]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: amd: Added ACP3x system resume and runtime pm
authorRavulapati Vishnu vardhan rao <Vishnuvardhanrao.Ravulapati@amd.com>
Sat, 28 Dec 2019 13:40:59 +0000 (19:10 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 31 Dec 2019 00:23:15 +0000 (00:23 +0000)
commit2f5751cc78643ae23d089333f0629eefbbe51137
treec4851d85417d21a0b0997588315dfa6b085934c5
parent24eff656f7695247e9a550027f9a8163cf2e56bf
ASoC: amd: Added ACP3x system resume and runtime pm

When system wide suspend happens, ACP will be powered off
and when system resumes,for audio usecase to continue,all
the runtime configuration data needs to be programmed again.
Added resume pm call back to ACP pm ops and also added runtime
PM operations for ACP3x PCM platform device.
Device will enter into D3 state when there is no activity
on audio I2S lines.

Signed-off-by: Ravulapati Vishnu vardhan rao <Vishnuvardhanrao.Ravulapati@amd.com>
Link: https://lore.kernel.org/r/1577540460-21438-6-git-send-email-Vishnuvardhanrao.Ravulapati@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/raven/acp3x-pcm-dma.c
sound/soc/amd/raven/acp3x.h
sound/soc/amd/raven/pci-acp3x.c