aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2017-01-13 16:03:11 +0100
committerLinus Walleij <linus.walleij@linaro.org>2017-08-10 10:05:45 +0200
commit32f12644d44603fcf96d1dd0bfe142811de1a862 (patch)
treeef02c9d5bb273c1ccdcc2b7db1f9024c5d2091cb
parente1963214a7421bb80dadb1a54d2c748d2682906e (diff)
downloadlinux-stericsson-32f12644d44603fcf96d1dd0bfe142811de1a862.tar.gz
audio DMA debug codeux500-audio
-rw-r--r--drivers/dma/ste_dma40.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c
index c3052fbfd092..615ef4bb8d4e 100644
--- a/drivers/dma/ste_dma40.c
+++ b/drivers/dma/ste_dma40.c
@@ -1473,6 +1473,12 @@ static dma_cookie_t d40_tx_submit(struct dma_async_tx_descriptor *tx)
static int d40_start(struct d40_chan *d40c)
{
+ if (d40c->dma_cfg.dev_type == 30 ||
+ d40c->dma_cfg.dev_type == 31 ||
+ d40c->dma_cfg.dev_type == 14) {
+ dev_info(chan2dev(d40c), "start channel device type %d\n",
+ d40c->dma_cfg.dev_type);
+ }
return d40_channel_execute_command(d40c, D40_DMA_RUN);
}