lkml.org 
[lkml]   [2012]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 048/270] drivers/dma/dmaengine.c: lower the priority of 'failed to get' dma channel message
    Date
    3.5.7u1 -stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Fabio Estevam <fabio.estevam@freescale.com>

    commit 0eb5a35801df3c438ce3fc91310a415ea4452c00 upstream.

    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>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    [ herton: adjust context ]
    Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com>
    ---
    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 2397f6f..6c87d67 100644
    --- a/drivers/dma/dmaengine.c
    +++ b/drivers/dma/dmaengine.c
    @@ -578,7 +578,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);
    }
    }
    --
    1.7.9.5


    \
     
     \ /
      Last update: 2012-11-26 19:01    [W:4.040 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site