MLK-17034-2: ASoC: fsl_sai: Move clock operation to pm runtime function
authorShengjiu Wang <shengjiu.wang@nxp.com>
Tue, 28 Nov 2017 08:17:17 +0000 (16:17 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:49:46 +0000 (14:49 -0500)
commit4b6a2c949f00b4882afa7a5cccffa5077eb8dcef
tree7b54a48ac6dbbaebc05b0aed0d52637d2646263f
parentaad2e33d9d1a80b8ff59fcbf4ce8b61746b9f2f4
MLK-17034-2: ASoC: fsl_sai: 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/fsl/fsl_sai.c