ASoC: ux500: get RX and TX channels respectively
The Ux500 DT-based DMA channel retrieveal would fail as the generic
DAI core didn't get the name of the DMA channel to fetch. Instruct
it to fetch "rx" and "tx" channels respectively.
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Mark Brown <broonie@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
diff --git a/sound/soc/ux500/ux500_msp_dai.c b/sound/soc/ux500/ux500_msp_dai.c
index 95a68dd9..3a58bb7 100644
--- a/sound/soc/ux500/ux500_msp_dai.c
+++ b/sound/soc/ux500/ux500_msp_dai.c
@@ -676,7 +676,9 @@ static int ux500_msp_dai_probe(struct snd_soc_dai *dai)
return -ENOMEM;
playback_dma_data->addr = drvdata->msp->playback_dma_data.tx_rx_addr;
+ playback_dma_data->chan_name = "tx";
capture_dma_data->addr = drvdata->msp->capture_dma_data.tx_rx_addr;
+ capture_dma_data->chan_name = "rx";
playback_dma_data->maxburst = 4;
capture_dma_data->maxburst = 4;