]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP1: DMA: fix error handling in omap1_system_dma_init()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 8 May 2013 23:48:02 +0000 (16:48 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 8 May 2013 23:48:02 +0000 (16:48 -0700)
commitc2e8ca1f050e0e9b95530bcd80cfd7e884a8eb8b
treed540863cbc177ccef26875666ffea16ab85949b0
parent56def60db20ce7795054f7ab4de097ffad3d641c
ARM: OMAP1: DMA: fix error handling in omap1_system_dma_init()

Add the missing iounmap() before return from omap1_system_dma_init()
in the error handling case.
Also removed platform_device_del() on add resources error case which
cause dup device delete.

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