ARM: OMAP: fix error return code in omap1_system_dma_init()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 16 May 2013 18:25:07 +0000 (11:25 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 16 May 2013 18:25:07 +0000 (11:25 -0700)
Fix to return -ENOMEM in the d->chan alloc 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>

No differences found