summaryrefslogtreecommitdiff
path: root/drivers/dma/omap-dma.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2016-07-20 11:50:30 +0300
committerVinod Koul <vinod.koul@intel.com>2016-08-10 20:29:12 +0300
commit3c9b833f5bfff704b805f31e818d6be8b804955f (patch)
tree1daef974714817b38de93ce804d6ce4d0dced86c /drivers/dma/omap-dma.c
parent2d1a9a946faebfedd660a1f1c2b90984fff41f91 (diff)
downloadlinux-3c9b833f5bfff704b805f31e818d6be8b804955f.tar.xz
dmaengine: omap-dma: Add more debug information when freeing channel
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>
Diffstat (limited to 'drivers/dma/omap-dma.c')
-rw-r--r--drivers/dma/omap-dma.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/dma/omap-dma.c b/drivers/dma/omap-dma.c
index 774306d372c9..e58eda564060 100644
--- a/drivers/dma/omap-dma.c
+++ b/drivers/dma/omap-dma.c
@@ -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;
}