Message ID | 20200622131634.2132717-2-mikhail.kshevetskiy@oktetlabs.ru |
---|---|
State | New |
Headers | show |
Series | [1/4] mtd: spinand: Stop using spinand->oobbuf for buffering bad block markers | expand |
diff --git a/drivers/mtd/nand/spi/core.c b/drivers/mtd/nand/spi/core.c index 410ea2382d..c74a7b5ef3 100644 --- a/drivers/mtd/nand/spi/core.c +++ b/drivers/mtd/nand/spi/core.c @@ -708,6 +708,7 @@ static int spinand_markbad(struct nand_device *nand, const struct nand_pos *pos) .ooboffs = 0, .ooblen = sizeof(marker), .oobbuf.out = marker, + .mode = MTD_OPS_RAW, }; int ret;