[MTD] NAND: Fix ECC settings in CAFÉ controller driver.
authorDavid Woodhouse <dwmw2@infradead.org>
Wed, 1 Nov 2006 00:19:20 +0000 (08:19 +0800)
committerDavid Woodhouse <dwmw2@infradead.org>
Wed, 1 Nov 2006 00:19:20 +0000 (08:19 +0800)
commitcad40654c312fc51bdb520e9be91e29a9742bbcb
tree682b30b108db2e637da5ff4e7f43c28c5e63bb6d
parentbe8444bdf34f7ba21e2364ca296c68e81033e3b2
[MTD] NAND: Fix ECC settings in CAFÉ controller driver.

We were resetting cafe->ctl2 to zero after an erase (and also during a
write, but it was correctly reset after that). This meant that ECC reads
after an erase were failing. Doh.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/cafe.c