diff mbox

dma: omap: Set debug level to debugging messages

Message ID 1387502549-11159-1-git-send-email-ezequiel.garcia@free-electrons.com (mailing list archive)
State Accepted
Commit 9e2f7d827912
Headers show

Commit Message

Ezequiel Garcia Dec. 20, 2013, 1:22 a.m. UTC
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>
---
 drivers/dma/omap-dma.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Vinod Koul Jan. 20, 2014, 9:27 a.m. UTC | #1
On Thu, Dec 19, 2013 at 10:22:29PM -0300, Ezequiel Garcia wrote:
> The channel allocated/released messages are just informative and
> not really interesting to users. Change them to "debug" level.

Applied, thanks

--
~Vinod
> 
> Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
> ---
>  drivers/dma/omap-dma.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/dma/omap-dma.c b/drivers/dma/omap-dma.c
> index 2f66cf4..362e7c4 100644
> --- a/drivers/dma/omap-dma.c
> +++ b/drivers/dma/omap-dma.c
> @@ -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)
> -- 
> 1.8.1.5
> 
> --
> To unsubscribe from this list: send the line "unsubscribe dmaengine" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/dma/omap-dma.c b/drivers/dma/omap-dma.c
index 2f66cf4..362e7c4 100644
--- a/drivers/dma/omap-dma.c
+++ b/drivers/dma/omap-dma.c
@@ -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)