Message ID | 1443911879-15793-1-git-send-email-festevam@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
On Sat, Oct 03, 2015 at 07:37:58PM -0300, Fabio Estevam wrote: > From: Fabio Estevam <fabio.estevam@freescale.com> > > Since commit d078cd1b4185 ("dmaengine: imx-sdma: Add imx6sx platform > support") we get this message on every boot on mx6q: > > imx-sdma 20ec000.sdma: no event needs to be remapped > > , which is not very helpful. > > Move the message to debug level instead. Applied both, thanks
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index 9d375bc..b34b0a6 100644 --- a/drivers/dma/imx-sdma.c +++ b/drivers/dma/imx-sdma.c @@ -1478,7 +1478,7 @@ static int __init sdma_event_remap(struct sdma_engine *sdma) event_remap = of_find_property(np, propname, NULL); num_map = event_remap ? (event_remap->length / sizeof(u32)) : 0; if (!num_map) { - dev_warn(sdma->dev, "no event needs to be remapped\n"); + dev_dbg(sdma->dev, "no event needs to be remapped\n"); goto out; } else if (num_map % EVENT_REMAP_CELLS) { dev_err(sdma->dev, "the property %s must modulo %d\n",