DMA: PL330: Add check if device tree compatible
authorPadmavathi Venna <padma.v@samsung.com>
Tue, 5 Mar 2013 09:25:31 +0000 (14:55 +0530)
committerVinod Koul <vinod.koul@intel.com>
Tue, 2 Apr 2013 17:41:04 +0000 (23:11 +0530)
commit0b94c57717054811dd836d582585d3fb4856b43f
tree1fb8bc2f94d795271c091d02f6e5e0678656d0e2
parent07961ac7c0ee8b546658717034fe692fd12eefa9
DMA: PL330: Add check if device tree compatible

This patch register the dma controller with generic dma helpers only
in DT case. This also adds some extra error handling in the driver.

Signed-off-by: Padmavathi Venna <padma.v@samsung.com>
Reported-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/pl330.c