]> git.karo-electronics.de Git - linux-beck.git/commitdiff
dmaengine: omap-dma: Add more debug information when freeing channel
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 20 Jul 2016 08:50:30 +0000 (11:50 +0300)
committerVinod Koul <vinod.koul@intel.com>
Wed, 10 Aug 2016 17:29:12 +0000 (22:59 +0530)
Print the same information the driver prints when allocating the channel
resources regarding to the sDMA channel.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/omap-dma.c

index 774306d372c9ac11bbf9fa35f8bb55d4e0664be4..e58eda5640608ae51065e5019f05eac42484640f 100644 (file)
@@ -568,7 +568,8 @@ static void omap_dma_free_chan_resources(struct dma_chan *chan)
        vchan_free_chan_resources(&c->vc);
        omap_free_dma(c->dma_ch);
 
-       dev_dbg(od->ddev.dev, "freeing channel for %u\n", c->dma_sig);
+       dev_dbg(od->ddev.dev, "freeing channel %u used for %u\n", c->dma_ch,
+               c->dma_sig);
        c->dma_sig = 0;
 }