]> git.karo-electronics.de Git - karo-tx-linux.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>
Tue, 16 Aug 2011 13:46:02 +0000 (16:46 +0300)
commit2449c7a05942fe17d96ce5bfceda5eb585e47717
tree58afcdb20356ae232dc5f9c192d76bbc4cb56dd1
parent81feba6ec43714a0569aa836001c2b8e0912df4f
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