[MTD] [OneNAND] Check the ECC status first instead of controller
commit83973b87938a06a2af7e2a7fd1b630c35f8baff4
authorKyungmin Park <kyungmin.park@samsung.com>
Thu, 29 May 2008 05:52:40 +0000 (29 14:52 +0900)
committerDavid Woodhouse <dwmw2@infradead.org>
Wed, 4 Jun 2008 16:45:39 +0000 (4 17:45 +0100)
treef34d8bf93655cd4299bd23eb9a2376261f2aed8b
parent271c5c59e00302494ffc299741e7fa2d63103e76
[MTD] [OneNAND] Check the ECC status first instead of controller

To get the correct information in case of power off recovery,
it should read ECC status first
Also remove previous workaround method.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/onenand/onenand_base.c