mtd: pxa3xx_nand: fix nand detection issue
authorLei Wen <leiwen@marvell.com>
Tue, 7 Jun 2011 10:01:06 +0000 (03:01 -0700)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Sun, 11 Sep 2011 12:02:05 +0000 (15:02 +0300)
commit0fab028b77d714ad302404b23306cf7adb885223
treee1520165828dae9f2a2a5f43b98813bd642cf265
parentbc27ede371b0931086e9cef72e30a58fdedc4709
mtd: pxa3xx_nand: fix nand detection issue

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>
Cc: stable@kernel.org [2.6.38+]
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/nand/pxa3xx_nand.c