drivers/dma/dmaengine.c: lower the priority of 'failed to get' dma channel message
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 5 Oct 2012 00:11:16 +0000 (17:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Oct 2012 18:04:36 +0000 (03:04 +0900)
Do the same as commit a03a202e95fd ("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)
  ..

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/dma/dmaengine.c

index 3491654..a815d44 100644 (file)
@@ -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);
                }
        }