dma: omap: Set debug level to debugging messages
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Fri, 20 Dec 2013 01:22:29 +0000 (22:22 -0300)
committerVinod Koul <vinod.koul@intel.com>
Mon, 20 Jan 2014 09:26:25 +0000 (14:56 +0530)
The channel allocated/released messages are just informative and
not really interesting to users. Change them to "debug" level.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/omap-dma.c

index 2f66cf4..362e7c4 100644 (file)
@@ -190,7 +190,7 @@ static int omap_dma_alloc_chan_resources(struct dma_chan *chan)
 {
        struct omap_chan *c = to_omap_dma_chan(chan);
 
-       dev_info(c->vc.chan.device->dev, "allocating channel for %u\n", c->dma_sig);
+       dev_dbg(c->vc.chan.device->dev, "allocating channel for %u\n", c->dma_sig);
 
        return omap_request_dma(c->dma_sig, "DMA engine",
                omap_dma_callback, c, &c->dma_ch);
@@ -203,7 +203,7 @@ static void omap_dma_free_chan_resources(struct dma_chan *chan)
        vchan_free_chan_resources(&c->vc);
        omap_free_dma(c->dma_ch);
 
-       dev_info(c->vc.chan.device->dev, "freeing channel for %u\n", c->dma_sig);
+       dev_dbg(c->vc.chan.device->dev, "freeing channel for %u\n", c->dma_sig);
 }
 
 static size_t omap_dma_sg_size(struct omap_sg *sg)