summaryrefslogtreecommitdiff
path: root/sound/soc/soc-acpi.c
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@nxp.com>2019-05-07 14:06:52 +0000
committerMark Brown <broonie@kernel.org>2019-05-08 17:17:26 +0900
commitc0ffbd64b9dc14d673e393cc5933f3b4a47ab39c (patch)
tree2f35be6489dc7d1f9306c9248818c17072ea766a /sound/soc/soc-acpi.c
parent71ed4bddde08285cd02d6d28c861ea1815d67476 (diff)
ASoC: fsl_sai: Move clock operation to PM runtime
Turn off/on clocks when device enters suspend/resume. This can help saving power. As a further optimization, we turn off/on mclk only when SAI is in master mode because otherwise mclk is externally provided. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> Reviewed-by: Viorel Suman <viorel.suman@nxp.com> Acked-by: Nicolin Chen <nicoleotsuka@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-acpi.c')
0 files changed, 0 insertions, 0 deletions