mtd: pxa3xx_nand: fix nand detection issue
authorLei Wen <leiwen@marvell.com>
Tue, 7 Jun 2011 10:01:06 +0000 (03:01 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:37:16 +0000 (09:37 -0800)
commit7b333e0ef8a1efa488ad98956c6701884b0c2b4b
tree0c27d9bee5160f43c203ba97019fdcfa9f1e58fa
parent1bd1046f37d0a9a76bbcd45284229edacb8d890d
mtd: pxa3xx_nand: fix nand detection issue

commit 0fab028b77d714ad302404b23306cf7adb885223 upstream.

When keep_config is set, the detection would goes different routine.
That the driver would read out the setting which is set previously
by bootloader. While most bootloader keep the irq mask as off, and
current driver need all irq default open, keep_config behavior would
lead to no irq at all.

Signed-off-by: Lei Wen <leiwen@marvell.com>
Tested-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/mtd/nand/pxa3xx_nand.c