MLK-17034-5: ASoC: fsl_mqs: Move clock operation to pm runtime function
authorShengjiu Wang <shengjiu.wang@nxp.com>
Wed, 29 Nov 2017 07:32:21 +0000 (15:32 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:49:48 +0000 (14:49 -0500)
commit40d8d68a2338f1cc287389a62be76ba1ce913632
tree47d96a263970aa691868f7151f4e539ae747c947
parentcf579caf281e405decd472ae321747922d80a965
MLK-17034-5: ASoC: fsl_mqs: Move clock operation to pm runtime function

In imx8 when systerm enter suspend state, the power of subsystem will be
off, The clock enable state will be lost after resume, but the runtime
resume function will be called after resume by pm, so need to move clock
enablement to runtime resume and clock disablement to runtime suspend.
Then after resume the clock enable state can be recovered.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
sound/soc/codecs/fsl_mqs.c