]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: edma: Prefix debug prints where the text were identical in prep callbacks
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 14 Apr 2014 11:42:03 +0000 (14:42 +0300)
committerVinod Koul <vinod.koul@intel.com>
Tue, 22 Apr 2014 16:06:03 +0000 (21:36 +0530)
commit69a116344f7ce9a6239ac66351f791a5333ec2c2
tree28234c97bb0f27c7629c40f1dbb1466fd1f21212
parent0ca8ba9345e643c646910df792251ea7d7afb5c1
dmaengine: edma: Prefix debug prints where the text were identical in prep callbacks

prep_slave_sg and prep_dma_cyclic callbacks have mostly same failure cases
with the same texts printed in case we hit them. It helps when debugging if
we know exactly which callback generated the errors.
At the same time change the debug level for descriptor allocation failure
from dbg to err since all other error cases are dev_err and this failure is
similarly fatal as the other ones.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Joel Fernandes <joelf@ti.com>
Reviewed-and-Tested-by: Joel Fernandes <joelf@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/edma.c