kernel: update kernel 4.4 to version 4.4.30
[openwrt/openwrt.git] / target / linux / layerscape / patches-4.4 / 1095-mtd-spi-nor-simplify-write-loop.patch
index 8eb957db5dc7deb0c794820b968947ef739c16b6..f07694e7cfb68ef77360ae04c4ed6fc8bd22c056 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
-@@ -1017,8 +1017,8 @@ static int spi_nor_write(struct mtd_info
+@@ -1018,8 +1018,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);
  
-@@ -1026,45 +1026,37 @@ static int spi_nor_write(struct mtd_info
+@@ -1027,45 +1027,37 @@ static int spi_nor_write(struct mtd_info
        if (ret)
                return ret;