From: Peter Ujfalusi Date: Wed, 20 Jul 2016 08:50:30 +0000 (+0300) Subject: dmaengine: omap-dma: Add more debug information when freeing channel X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3c9b833f5bfff704b805f31e818d6be8b804955f;p=linux.git 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 Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/omap-dma.c b/drivers/dma/omap-dma.c index 774306d372c9a..e58eda5640608 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; }