From c4511c96652f611515fa735f530551847f10bd05 Mon Sep 17 00:00:00 2001 From: Shengjiu Wang Date: Wed, 28 Apr 2021 15:23:01 +0800 Subject: [PATCH] Revert "LF-601-1: ASoC: fsl_esai: Switch to imx-pcm-dma-v2" This reverts commit 9a96d4da3a5354b357e4a10dac91b8cbeeab17b7. imx-pcm-dma v2 is not needed because power enablement flow is changed in dma driver, so switch back to imx-pcm-dma Signed-off-by: Shengjiu Wang Reviewed-by: Robin Gong --- sound/soc/fsl/fsl_esai.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/fsl/fsl_esai.c b/sound/soc/fsl/fsl_esai.c index a1eb4ddc12b2..346233ac0cba 100644 --- a/sound/soc/fsl/fsl_esai.c +++ b/sound/soc/fsl/fsl_esai.c @@ -1113,7 +1113,7 @@ static int fsl_esai_probe(struct platform_device *pdev) if (ret) dev_err(&pdev->dev, "failed to init imx pcm dma: %d\n", ret); } else { - ret = imx_pcm_platform_register(&pdev->dev); + ret = imx_pcm_dma_init(pdev, IMX_ESAI_DMABUF_SIZE); if (ret) dev_err(&pdev->dev, "failed to init imx pcm dma: %d\n", ret); } -- 2.17.1