X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fpatches-4.14%2F0040-nand-hack-restore-write_page.patch;h=ec2afeaf0eeed33848de31ee5551025be821225d;hb=10ea53f900ee0cb384a9610d8870ba86cd837791;hp=048e60441c2d18fcaf43444859e1229d61a3e42e;hpb=88ba41453dbc65e1d5d596073d66bdf2e59a43a1;p=oweals%2Fopenwrt.git diff --git a/target/linux/ramips/patches-4.14/0040-nand-hack-restore-write_page.patch b/target/linux/ramips/patches-4.14/0040-nand-hack-restore-write_page.patch index 048e60441c..ec2afeaf0e 100644 --- a/target/linux/ramips/patches-4.14/0040-nand-hack-restore-write_page.patch +++ b/target/linux/ramips/patches-4.14/0040-nand-hack-restore-write_page.patch @@ -12,7 +12,7 @@ int (*onfi_get_features)(struct mtd_info *mtd, struct nand_chip *chip, --- a/drivers/mtd/nand/nand_base.c +++ b/drivers/mtd/nand/nand_base.c -@@ -2756,9 +2756,14 @@ static int nand_do_write_ops(struct mtd_ +@@ -2761,9 +2761,14 @@ static int nand_do_write_ops(struct mtd_ memset(chip->oob_poi, 0xff, mtd->oobsize); } @@ -30,7 +30,7 @@ if (ret) break; -@@ -4714,6 +4719,9 @@ int nand_scan_tail(struct mtd_info *mtd) +@@ -4719,6 +4724,9 @@ int nand_scan_tail(struct mtd_info *mtd) } }