From 3db807a5480aef79aa2fe9f41ead1cf1933b129b Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Thu, 13 Sep 2012 10:58:19 +1000 Subject: [PATCH] drivers/dma/dmaengine.c: lower the priority of 'failed to get' dma channel message Do the same as commit a03a202e9 ("dmaengine: failure to get a specific DMA channel is not critical") to get rid of the following messages during kernel boot: dmaengine_get: failed to get dma1chan0: (-22) dmaengine_get: failed to get dma1chan1: (-22) dmaengine_get: failed to get dma1chan2: (-22) dmaengine_get: failed to get dma1chan3: (-22) dmaengine_get: failed to get dma1chan4: (-22) dmaengine_get: failed to get dma1chan5: (-22) dmaengine_get: failed to get dma1chan6: (-22) dmaengine_get: failed to get dma1chan7: (-22) dmaengine_get: failed to get dma1chan8: (-22) dmaengine_get: failed to get dma1chan9: (-22) dmaengine_get: failed to get dma1chan10: (-22) dmaengine_get: failed to get dma1chan11: (-22) dmaengine_get: failed to get dma1chan12: (-22) dmaengine_get: failed to get dma1chan13: (-22) dmaengine_get: failed to get dma1chan14: (-22) dmaengine_get: failed to get dma1chan15: (-22) dmaengine_get: failed to get dma1chan16: (-22) dmaengine_get: failed to get dma1chan17: (-22) dmaengine_get: failed to get dma1chan18: (-22) dmaengine_get: failed to get dma1chan19: (-22) dmaengine_get: failed to get dma1chan20: (-22) dmaengine_get: failed to get dma1chan21: (-22) dmaengine_get: failed to get dma1chan22: (-22) dmaengine_get: failed to get dma1chan23: (-22) dmaengine_get: failed to get dma1chan24: (-22) dmaengine_get: failed to get dma1chan25: (-22) dmaengine_get: failed to get dma1chan26: (-22) dmaengine_get: failed to get dma1chan27: (-22) dmaengine_get: failed to get dma1chan28: (-22) dmaengine_get: failed to get dma1chan29: (-22) Signed-off-by: Fabio Estevam Cc: Vinod Koul Cc: Dan Williams Signed-off-by: Andrew Morton --- drivers/dma/dmaengine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/dmaengine.c b/drivers/dma/dmaengine.c index 3491654cdf7b..a815d44c70a4 100644 --- a/drivers/dma/dmaengine.c +++ b/drivers/dma/dmaengine.c @@ -582,7 +582,7 @@ void dmaengine_get(void) list_del_rcu(&device->global_node); break; } else if (err) - pr_err("%s: failed to get %s: (%d)\n", + pr_debug("%s: failed to get %s: (%d)\n", __func__, dma_chan_name(chan), err); } } -- 2.39.5