1
0
Fork 0

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 <shengjiu.wang@nxp.com>
5.4-rM2-2.2.x-imx-squashed
Shengjiu Wang 2020-03-07 10:57:31 +08:00
parent c2c3408c30
commit 1d12f4912e
1 changed files with 2 additions and 0 deletions

View File

@ -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;