mtd: pxa3xx_nand: fix nand detection issue
commit33e73819e7e48d76d40e292be8d4213684a3369f
authorLei Wen <leiwen@marvell.com>
Tue, 7 Jun 2011 10:01:06 +0000 (7 03:01 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:44:46 +0000 (11 09:44 -0800)
treeca302eb8afa81462687b9ada949b13a08d789770
parent4ac405dc9ea822fc96debff9b97e001029a9a465
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