aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2014-02-11 13:36:07 +0100
committerLinus Walleij <linus.walleij@linaro.org>2017-08-10 10:05:45 +0200
commite1963214a7421bb80dadb1a54d2c748d2682906e (patch)
tree890dcb605e7f20af8356ecd77a5596a3a82d3d8d
parentfe1b11d8f27e112c0789d2d85b362125a75c2d7e (diff)
downloadlinux-stericsson-e1963214a7421bb80dadb1a54d2c748d2682906e.tar.gz
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>
-rw-r--r--sound/soc/ux500/ux500_msp_dai.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/ux500/ux500_msp_dai.c b/sound/soc/ux500/ux500_msp_dai.c
index 95a68dd9d6ed..3a58bb79fb66 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;