mirror of
https://github.com/brain-hackers/linux-brain.git
synced 2024-06-09 23:36:23 +09:00
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>
This commit is contained in:
parent
c2c3408c30
commit
1d12f4912e
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user