kernel: bump 3.18 to 3.18.119
[openwrt/staging/mkresin.git] / target / linux / xburst / patches-3.18 / 002-NAND-Optimize-NAND_ECC_HW_OOB_FIRST-read.patch
index 046da51912de3cd4444779df5de13d2c1999719a..ce87452a16166eb09c29da1065c384cf4f4691ed 100644 (file)
@@ -10,7 +10,7 @@ Avoid sending unnecessary READ commands to the chip.
 
 --- a/drivers/mtd/nand/nand_base.c
 +++ b/drivers/mtd/nand/nand_base.c
-@@ -1360,9 +1360,16 @@ static int nand_read_page_hwecc_oob_firs
+@@ -1365,9 +1365,16 @@ static int nand_read_page_hwecc_oob_firs
        unsigned int max_bitflips = 0;
  
        /* Read the OOB area first */
@@ -30,7 +30,7 @@ Avoid sending unnecessary READ commands to the chip.
  
        for (i = 0; i < chip->ecc.total; i++)
                ecc_code[i] = chip->oob_poi[eccpos[i]];
-@@ -1575,7 +1582,9 @@ static int nand_do_read_ops(struct mtd_i
+@@ -1580,7 +1587,9 @@ static int nand_do_read_ops(struct mtd_i
                                                 __func__, buf);
  
  read_retry: