mediatek: refresh patches for Linux 5.15
[openwrt/staging/mkresin.git] / target / linux / mediatek / patches-5.15 / 121-hack-spi-nand-1b-bbm.patch
index eccd36339515dc9d19508791eba00db65c679442..770a7ff9bd9a0dc9cfac1fc4e6898cc0aca539d6 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/mtd/nand/spi/core.c
 +++ b/drivers/mtd/nand/spi/core.c
-@@ -715,7 +715,7 @@ static int spinand_mtd_write(struct mtd_
+@@ -714,7 +714,7 @@ static int spinand_mtd_write(struct mtd_
  static bool spinand_isbad(struct nand_device *nand, const struct nand_pos *pos)
  {
        struct spinand_device *spinand = nand_to_spinand(nand);
@@ -9,7 +9,7 @@
        struct nand_page_io_req req = {
                .pos = *pos,
                .ooblen = sizeof(marker),
-@@ -726,7 +726,7 @@ static bool spinand_isbad(struct nand_de
+@@ -725,7 +725,7 @@ static bool spinand_isbad(struct nand_de
  
        spinand_select_target(spinand, pos->target);
        spinand_read_page(spinand, &req);