dmaengine: dw: Make error prints unique. Part #2
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Tue, 10 Mar 2015 09:37:24 +0000 (11:37 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 16 Mar 2015 16:41:06 +0000 (22:11 +0530)
commitb26072276f20ce93717fdad5210e4ae9f1c944fa
treebcaddf54cf2f12cf57d4de4d8e17116166811411
parent550da64bc89b597395ea6e43a6b4026491035a9d
dmaengine: dw: Make error prints unique. Part #2

The same error message is printed from different switch cases. Since both of
these jump into same error label we can move error print there and add a DMA
direction in order to make it easier to grep error from sources.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dw/core.c