]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: AMD: add pm ops
authorMaruthi Srinivas Bayyavarapu <Maruthi.Bayyavarapu@amd.com>
Fri, 8 Jan 2016 23:22:10 +0000 (18:22 -0500)
committerMark Brown <broonie@kernel.org>
Sun, 10 Jan 2016 12:44:12 +0000 (12:44 +0000)
commit156f8e1d89dd8ed4f748f89af161a996a0ad8265
treea53fa386ba1a817f6c925d5dafe6851b1b211e0c
parentdda59da5f7f6d35820d25988c95dc11ffa878536
ASoC: AMD: add pm ops

genpd will power off/on ACP to manage runtime ACP PM. ACP runtime PM
hooks are added to get it deinitialized and initialized respectively,
after it is powered off/on.

When system goes to suspend when audio usecase is active, ACP will
be powered off through genpd. When it resumes, ACP needs to be
initialized and reconfigured.

Signed-off-by: Maruthi Bayyavarapu <maruthi.bayyavarapu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp-pcm-dma.c