pxa3xx_nand: disable nand irq in initialization
authorHaojian Zhuang <haojian.zhuang@marvell.com>
Thu, 10 Sep 2009 06:27:23 +0000 (14:27 +0800)
committerEric Miao <eric.y.miao@gmail.com>
Tue, 1 Dec 2009 01:02:40 +0000 (09:02 +0800)
commit346e125967c39fc25263f3071dfc88224ae843f4
tree2bb95839a96eb40d61f0bf1d94764d2c77a827f0
parentdbf5986aed62620d3dde54e1b63889821c857675
pxa3xx_nand: disable nand irq in initialization

In some bootloader, IRQ is enabled. Writing nand triggers unexpected
interrupts. So disable nand irq in initialization. After nand
initialized and in working state, irq is controlled by nand driver.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
drivers/mtd/nand/pxa3xx_nand.c