mtd: pxa3xx_nand: rework irq logic
authorLei Wen <leiwen@marvell.com>
Mon, 28 Feb 2011 02:32:11 +0000 (10:32 +0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 11 Mar 2011 14:22:50 +0000 (14:22 +0000)
commitf8155a404db95656f1519b28fdb96cb68f8b2364
treecccaa10692ac7927cd6bc530bc0e93bc1c8c2359
parente353a20afaee1e3e67fc4fa663a76c68a4c1fb74
mtd: pxa3xx_nand: rework irq logic

Enable all irq when we start the nand controller, and
put all the transaction logic in the pxa3xx_nand_irq.

By doing this way, we could dramatically increase the
performance by avoid unnecessary delay.

Signed-off-by: Lei Wen <leiwen@marvell.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/pxa3xx_nand.c