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