]> git.karo-electronics.de Git - linux-beck.git/commit
mtd: eLBC NAND: remove elbc_fcm_ctrl->oob_poi
authorMike Hench <mhench@elutions.com>
Tue, 5 Jul 2011 23:14:48 +0000 (19:14 -0400)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Sun, 11 Sep 2011 12:02:15 +0000 (15:02 +0300)
commit52a474de0a830bdf4305ef19c3321064ce5da438
tree97e35517e0f9eabe97fe02ee9a154774402c08f9
parentfb5427508abbd635e877fabdf55795488119c2d6
mtd: eLBC NAND: remove elbc_fcm_ctrl->oob_poi

The eLBC NAND driver currently follows up each program/write operation with a
read-back of the page, in order to [ostensibly] fill in ECC data for the
caller. However, the page address used for this read is always -1, so the read
will never work correctly.  Remove this useless (and potentially problematic)
block of code.

Signed-off-by: Matthew L. Creech <mlcreech@gmail.com>
Signed-off-by: Artem Bityutskiy <dedekind1@gmail.com>
drivers/mtd/nand/fsl_elbc_nand.c