diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2014-02-11 13:36:07 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-02-20 14:42:56 +0100 |
commit | ff633cf39bd8ce49b6bfd52c2d52304c09c12abb (patch) | |
tree | 66c44f60e09d6aab00f4e980c67777d800586c46 /sound/soc/ux500/ux500_msp_dai.c | |
parent | 7408de10ff618f39c175f9b5a201f43587430f90 (diff) |
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>
Diffstat (limited to 'sound/soc/ux500/ux500_msp_dai.c')
-rw-r--r-- | sound/soc/ux500/ux500_msp_dai.c | 2 |
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 da5ff2d43e72..5453c984a510 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; |