]> asedeno.scripts.mit.edu Git - linux.git/commit
ASoC: fsl_esai: Add pm runtime function
authorS.j. Wang <shengjiu.wang@nxp.com>
Fri, 3 May 2019 19:49:44 +0000 (12:49 -0700)
committerMark Brown <broonie@kernel.org>
Mon, 6 May 2019 14:59:35 +0000 (23:59 +0900)
commitb2d337d8de9fb6dd4f2970ebec0fa2375f7c9cdd
tree67e4d703d3ddba8930a7fc84cde1abe944b4a789
parent1a5c0b28fc56044737f988960f3bc5fdcdba0827
ASoC: fsl_esai: Add pm runtime function

Add pm runtime support and move clock handling there.
Close the clocks at suspend to reduce the power consumption.

fsl_esai_suspend is replaced by pm_runtime_force_suspend.
fsl_esai_resume is replaced by pm_runtime_force_resume.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_esai.c