ARM: OMAP: dma: fix error return code in omap_system_dma_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 16 Jul 2013 12:10:46 +0000 (20:10 +0800)
committerTony Lindgren <tony@atomide.com>
Wed, 21 Aug 2013 08:07:16 +0000 (01:07 -0700)
commit94b1d617e3ba4e682b8c94b86b65049ed5c810d6
treebfdae95d9df81701ae07c7327d6c96814c91572c
parent42c604ba7c1cbe0be005d473262b91824e920682
ARM: OMAP: dma: fix error return code in omap_system_dma_probe()

Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/dma.c