diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2021-01-07 09:38:13 +0100 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2021-01-14 16:44:41 +0100 |
commit | e708789c4a87989faff1131ccfdc465a1c1eddbc (patch) | |
tree | 07236c202acde57337e37acb56c32fec6afaca87 /drivers/mtd/nand/raw/omap2.c | |
parent | 18f62614308be69a2752afb5f6bbad60096ad774 (diff) | |
download | linux-e708789c4a87989faff1131ccfdc465a1c1eddbc.tar.gz linux-e708789c4a87989faff1131ccfdc465a1c1eddbc.tar.bz2 linux-e708789c4a87989faff1131ccfdc465a1c1eddbc.zip |
mtd: spinand: Fix MTD_OPS_AUTO_OOB requests
The initial change breaking the logic is
commit 3d1f08b032dc ("mtd: spinand: Use the external ECC engine logic")
It inadvertently dropped proper OOB support while doing something
else.
Shortly later, half of it got re-integrated by
commit 868cbe2a6dce ("mtd: spinand: Fix OOB read")
(pointing by the way to a more early change which had nothing to do
with the issue). Problem is, this commit failed to revert the faulty
change entirely and missed the logic handling MTD_OPS_AUTO_OOB
requests.
Let's fix this mess by re-inserting the missing part now.
Fixes: 868cbe2a6dce ("mtd: spinand: Fix OOB read")
Reported-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210107083813.24283-1-miquel.raynal@bootlin.com
Diffstat (limited to 'drivers/mtd/nand/raw/omap2.c')
0 files changed, 0 insertions, 0 deletions