]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8ca9dc5350bbb4191873642795e37cf76437ff92
treee1520165828dae9f2a2a5f43b98813bd642cf265
parent2994a974b4b927ab8daf5add5b178d19de6d54a3
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