mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-22 01:10:28 +00:00
[MTD] NAND: Correct setting of chip->oob_poi OOB buffer
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
parent
7dcdcbef5d
commit
784f4d5e66
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user