MLK-23906-2: ASoC: fsl_aud2htx: Switch to imx-pcm-dma-v2
authorShengjiu Wang <shengjiu.wang@nxp.com>
Wed, 6 May 2020 05:38:16 +0000 (13:38 +0800)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 02:57:07 +0000 (10:57 +0800)
commitf6625709b86e35165e833bd8d56974e2d468a5a2
treeb6372d5dcbb6c95816adc9ea5d91c92d701e8f05
parentd11bbb549f0e8a273ce474b100d92b02872be2be
MLK-23906-2: ASoC: fsl_aud2htx: Switch to imx-pcm-dma-v2

With imx-pcm-dma, the dma channel is created in probe, when
there is power domain attached with dma device, the power
domain will be enabled when channel is created, then the
power of the domain will be always enabled from beginning.

So switch to imx-pcm-dma-v2, then the dma channel will be
created when playback or capture really started.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
sound/soc/fsl/fsl_aud2htx.c