mtd: atmel_nand: Disable subpage NAND write when using Atmel PMECC
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Tue, 2 Sep 2014 08:23:09 +0000 (10:23 +0200)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Thu, 18 Sep 2014 22:11:22 +0000 (00:11 +0200)
commitd357b94041a0d270dfa87251e00d9789ffa0f2b4
tree9a89f1db37b43139ec0df2adcb2414debcb24a46
parent97b2043da6d4e4cc65df90f405583c020429d798
mtd: atmel_nand: Disable subpage NAND write when using Atmel PMECC

Disable subpage write when using PMECC to prevent buggy partial page write.

This fix has been taken from linux sources (see commit
90445ff6241e2a13445310803e2efa606c61f276)

Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
Acked-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
drivers/mtd/nand/atmel_nand.c