kernel: bump 4.4 to 4.4.167
[openwrt/openwrt.git] / target / linux / layerscape / patches-4.4 / 1095-mtd-spi-nor-simplify-write-loop.patch
index f3179cd56e5d0d6f1b35d26922ecd5e7c8bf0aa5..2b6db6881fae03e862b41c389e659cf28916d117 100644 (file)
@@ -18,7 +18,7 @@ Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@freescale.com>
 
 --- a/drivers/mtd/spi-nor/spi-nor.c
 +++ b/drivers/mtd/spi-nor/spi-nor.c
-@@ -1019,8 +1019,8 @@ static int spi_nor_write(struct mtd_info
+@@ -1025,8 +1025,8 @@ static int spi_nor_write(struct mtd_info
        size_t *retlen, const u_char *buf)
  {
        struct spi_nor *nor = mtd_to_spi_nor(mtd);
@@ -29,7 +29,7 @@ Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@freescale.com>
  
        dev_dbg(nor->dev, "to 0x%08x, len %zd\n", (u32)to, len);
  
-@@ -1028,45 +1028,37 @@ static int spi_nor_write(struct mtd_info
+@@ -1034,45 +1034,37 @@ static int spi_nor_write(struct mtd_info
        if (ret)
                return ret;