MLK-15061-2: ASoC: fsl_asrc_m2m: fix asrc m2m can't work in imx8
authorShengjiu Wang <shengjiu.wang@freescale.com>
Mon, 12 Jun 2017 07:19:42 +0000 (15:19 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:28:15 +0000 (15:28 -0500)
commit878f48fa2170519ab7cda970c52222ba1027f5a2
tree0cea606bd59cc8dc60f7c861b7be999949690a30
parent2a9c75a3313fde8e13e346623b3b60fcbf42e7d7
MLK-15061-2: ASoC: fsl_asrc_m2m: fix asrc m2m can't work in imx8

Power domain need to be enabled when asrc m2m start to work, and
disabled when it stop.
Switch back to use the pm_runtime_get_sync and pm_runtime_put_sync
for which is removed in commit 1a3d82e08fa2 ("ASoC: fsl: refine
the asrc driver for imx8qm").

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
sound/soc/fsl/fsl_asrc_m2m.c