Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 784f4d5e authored by David Woodhouse's avatar David Woodhouse
Browse files

[MTD] NAND: Correct setting of chip->oob_poi OOB buffer

parent 7dcdcbef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2344,7 +2344,7 @@ int nand_scan_tail(struct mtd_info *mtd)
		return -ENOMEM;

	/* Set the internal oob buffer location, just after the page data */
	chip->oob_poi = chip->buffers + mtd->writesize;
	chip->oob_poi = chip->buffers->databuf + mtd->writesize;

	/*
	 * If no default placement scheme is given, select an appropriate one