From 1d12f4912e3b630ee81f17e164309d172d8c50b5 Mon Sep 17 00:00:00 2001 From: Shengjiu Wang Date: Sat, 7 Mar 2020 10:57:31 +0800 Subject: [PATCH] LF-601-2: ASoC: fsl_esai: add chan_name for dma_params The chan_name is missed, otherwise: [ 68.051062] of_dma_request_slave_channel: not enough information provided [ 68.058700] fsl-esai-dai 59010000.esai: ASoC: can't open component 59010000.esai: -6 Fixes: 6ee6ebd6efae ("LF-601-1: ASoC: fsl_esai: Switch to imx-pcm-dma-v2") Signed-off-by: Shengjiu Wang --- sound/soc/fsl/fsl_esai.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/fsl/fsl_esai.c b/sound/soc/fsl/fsl_esai.c index a46b54de0b19..c056bb4f74c2 100644 --- a/sound/soc/fsl/fsl_esai.c +++ b/sound/soc/fsl/fsl_esai.c @@ -1094,6 +1094,8 @@ static int fsl_esai_probe(struct platform_device *pdev) esai_priv->dma_params_tx.maxburst = 16; esai_priv->dma_params_rx.maxburst = 16; + esai_priv->dma_params_rx.chan_name = "rx"; + esai_priv->dma_params_tx.chan_name = "tx"; esai_priv->dma_params_tx.addr = res->start + REG_ESAI_ETDR; esai_priv->dma_params_rx.addr = res->start + REG_ESAI_ERDR;