]> 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)
commita3135c96e219cac5a29cd3a536704a0bab12d353
treed540863cbc177ccef26875666ffea16ab85949b0
parente9d0965c30e12e8017f038e16017348a2778e764
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