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)
committerShengjiu Wang <shengjiu.wang@nxp.com>
Thu, 18 Jul 2019 05:37:21 +0000 (13:37 +0800)
commit0640a38be04f1b132910dbadc4adb6a6fd5e3a72
tree74c427ca4d54c29793cfbf63f5b7925ed44e81c4
parent2c4a9f735bbc7d7201847c10d00f60cbe253a47c
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