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>2018-02-20 14:42:56 +0100
commit213bfad35f8cc00980f5d1f0fa550d1836f6ebfc (patch)
treea62775b73d165a5678f279d0dba6c5ad89b84a80
parentff633cf39bd8ce49b6bfd52c2d52304c09c12abb (diff)
downloadlinux-stericsson-213bfad35f8cc00980f5d1f0fa550d1836f6ebfc.tar.gz
audio DMA debug code
-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 c2b089af0420..b630323fc905 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);
}