mtd: fix mtdconcat for subpage-write NAND
PATCH 1/1 mtd: fix mtdconcat for subpage-write NAND
This allows the mtdconcat driver to work with NAND flash devices that support sub-page writes.
Signed-off-by Chris Paulson-Ellis <[email protected]>
---
drivers/mtd/mtdconcat.c 2007-10-02 09:49:42.000000000 +0100 renamed from drivers/mtd/mtdconcat.c.orig 2007-07-09 00:32:17.000000000 +0100 +1 -0
@@ -726,6 +726,7 @@ struct mtd_info *mtd_concat_create(struc concat->mtd.size = subdev[0]->size; concat->mtd.erasesize = subdev[0]->erasesize; concat->mtd.writesize = subdev[0]->writesize; + concat->mtd.subpage_sft = subdev[0]->subpage_sft; concat->mtd.oobsize = subdev[0]->oobsize; concat->mtd.oobavail = subdev[0]->oobavail; if (subdev[0]->writev)
Quoted 3 lines · Chris Paulson-Ellis
This allows the mtdconcat driver to work with NAND flash devices that support sub-page writes.
Signed-off-by Chris Paulson-Ellis <[email protected]>
Applied by hand; thanks. For future reference, please note your mailer mangled the whitespace -- please test sending patches to yourself first, then save them and attempt to apply them yourself.
Signature · 1 line
dwmw2