dma: dmaengine: Distinguish between 'dmaengine: failed to get' messages
authorFabio Estevam <festevam@gmail.com>
Tue, 21 Feb 2012 14:51:59 +0000 (12:51 -0200)
committerVinod Koul <vinod.koul@linux.intel.com>
Tue, 6 Mar 2012 11:31:07 +0000 (17:01 +0530)
commitd8b53489d4c80490a70327fce6657816e33fafb3
tree4aae62840a59c10d1bc6c275394de2898b41e103
parent865d9438eb1f7670d2e88849f059db551b320887
dma: dmaengine: Distinguish between 'dmaengine: failed to get' messages

The message "dmaengine: failed to get" can come from two possible locations within dmaengine.c.

In order to distinguish between them, replace "dmaengine" with __func__ string so that the
source function of the error message can be easily identified.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/dmaengine.c