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)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit2ec9a09a1888806bc0ed6f86a273e84f28464f0a
tree98c37ceaa547c372346097f7467abb2abe295d2c
parent8fa23e1ae00c4127c2b31e55b752d956c497f916
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>
(cherry picked from commit 602f4f47e454e371f80f55e4e79a3bdfd09ce7d5)
sound/soc/fsl/fsl_asrc_m2m.c