LF-3756-3: ASoC: fsl_ssi: switch back to imx-pcm-dma
authorShengjiu Wang <shengjiu.wang@nxp.com>
Wed, 28 Apr 2021 07:28:52 +0000 (15:28 +0800)
committerShengjiu Wang <shengjiu.wang@nxp.com>
Fri, 30 Apr 2021 10:00:38 +0000 (18:00 +0800)
Switch back to imx-pcm-dma,as the power control is handled
by dma driver already, the special imx-pcm-dma-v2 can be dropped

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Robin Gong <yibin.gong@nxp.com>
sound/soc/fsl/fsl_ssi.c

index 1f57a4b..ea35411 100644 (file)
@@ -1407,7 +1407,7 @@ static int fsl_ssi_imx_probe(struct platform_device *pdev,
                if (ret)
                        goto error_pcm;
        } else {
-               ret = imx_pcm_platform_register(&pdev->dev);
+               ret = imx_pcm_dma_init(pdev, IMX_SSI_DMABUF_SIZE);
                if (ret)
                        goto error_pcm;
        }