dma: edma: Set debug level to debugging messages
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Fri, 13 Dec 2013 14:06:18 +0000 (11:06 -0300)
committerVinod Koul <vinod.koul@intel.com>
Wed, 18 Dec 2013 16:14:02 +0000 (21:44 +0530)
The channel allocated/released messages are very spammy and not really
interesting to users. Change them to "debug" level.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Acked-by: Matt Porter <mporter@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/edma.c

index 2539ea0..cd8da45 100644 (file)
@@ -699,8 +699,8 @@ static int edma_alloc_chan_resources(struct dma_chan *chan)
        echan->alloced = true;
        echan->slot[0] = echan->ch_num;
 
-       dev_info(dev, "allocated channel for %u:%u\n",
-                EDMA_CTLR(echan->ch_num), EDMA_CHAN_SLOT(echan->ch_num));
+       dev_dbg(dev, "allocated channel for %u:%u\n",
+               EDMA_CTLR(echan->ch_num), EDMA_CHAN_SLOT(echan->ch_num));
 
        return 0;
 
@@ -736,7 +736,7 @@ static void edma_free_chan_resources(struct dma_chan *chan)
                echan->alloced = false;
        }
 
-       dev_info(dev, "freeing channel for %u\n", echan->ch_num);
+       dev_dbg(dev, "freeing channel for %u\n", echan->ch_num);
 }
 
 /* Send pending descriptor to hardware */