From bed0ee7cbfaa50f1db75089ba3c6c2d602777e25 Mon Sep 17 00:00:00 2001 From: Stijn Segers Date: Wed, 28 Mar 2018 19:51:52 +0200 Subject: Kernel: bump 4.4 to 4.4.124 for 17.01 * Refreshed patches * Removed 087-Revert-led-core-Fix-brightness-setting-when-setting-.patch (applied upstream) Compile-tested on ar71xx, ramips/mt7621, x86/64 Run-tested on ar71xx Signed-off-by: Stijn Segers --- .../linux/ramips/patches-4.4/0032-USB-dwc2-add-device_reset.patch | 2 +- .../linux/ramips/patches-4.4/0039-mtd-add-mt7621-nand-support.patch | 2 +- .../linux/ramips/patches-4.4/0040-nand-add-mtk-nand-hack-hook.patch | 6 +++--- target/linux/ramips/patches-4.4/0901-spansion_nand_id_fix.patch | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'target/linux/ramips/patches-4.4') diff --git a/target/linux/ramips/patches-4.4/0032-USB-dwc2-add-device_reset.patch b/target/linux/ramips/patches-4.4/0032-USB-dwc2-add-device_reset.patch index e77e02f..10ce245 100644 --- a/target/linux/ramips/patches-4.4/0032-USB-dwc2-add-device_reset.patch +++ b/target/linux/ramips/patches-4.4/0032-USB-dwc2-add-device_reset.patch @@ -18,7 +18,7 @@ Signed-off-by: John Crispin #include #include -@@ -3002,6 +3003,8 @@ int dwc2_hcd_init(struct dwc2_hsotg *hso +@@ -3003,6 +3004,8 @@ int dwc2_hcd_init(struct dwc2_hsotg *hso retval = -ENOMEM; diff --git a/target/linux/ramips/patches-4.4/0039-mtd-add-mt7621-nand-support.patch b/target/linux/ramips/patches-4.4/0039-mtd-add-mt7621-nand-support.patch index 7bb996a..7cba939 100644 --- a/target/linux/ramips/patches-4.4/0039-mtd-add-mt7621-nand-support.patch +++ b/target/linux/ramips/patches-4.4/0039-mtd-add-mt7621-nand-support.patch @@ -4078,7 +4078,7 @@ Signed-off-by: John Crispin { struct nand_chip *chip = mtd->priv; -@@ -829,7 +829,7 @@ static void panic_nand_get_device(struct +@@ -834,7 +834,7 @@ static void panic_nand_get_device(struct * * Get the device and lock it for exclusive access */ diff --git a/target/linux/ramips/patches-4.4/0040-nand-add-mtk-nand-hack-hook.patch b/target/linux/ramips/patches-4.4/0040-nand-add-mtk-nand-hack-hook.patch index 7c45704..9608f6c 100644 --- a/target/linux/ramips/patches-4.4/0040-nand-add-mtk-nand-hack-hook.patch +++ b/target/linux/ramips/patches-4.4/0040-nand-add-mtk-nand-hack-hook.patch @@ -100,7 +100,7 @@ Signed-off-by: John Crispin --- a/drivers/mtd/nand/nand_base.c +++ b/drivers/mtd/nand/nand_base.c -@@ -1727,6 +1727,9 @@ static int nand_do_read_ops(struct mtd_i +@@ -1732,6 +1732,9 @@ static int nand_do_read_ops(struct mtd_i __func__, buf); read_retry: @@ -110,7 +110,7 @@ Signed-off-by: John Crispin chip->cmdfunc(mtd, NAND_CMD_READ0, 0x00, page); /* -@@ -1745,6 +1748,7 @@ read_retry: +@@ -1750,6 +1753,7 @@ read_retry: else ret = chip->ecc.read_page(mtd, chip, bufpoi, oob_required, page); @@ -118,7 +118,7 @@ Signed-off-by: John Crispin if (ret < 0) { if (use_bufpoi) /* Invalidate page cache */ -@@ -2938,8 +2942,11 @@ int nand_erase_nand(struct mtd_info *mtd +@@ -2943,8 +2947,11 @@ int nand_erase_nand(struct mtd_info *mtd if (page <= chip->pagebuf && chip->pagebuf < (page + pages_per_block)) chip->pagebuf = -1; diff --git a/target/linux/ramips/patches-4.4/0901-spansion_nand_id_fix.patch b/target/linux/ramips/patches-4.4/0901-spansion_nand_id_fix.patch index 56c8342..a023284 100644 --- a/target/linux/ramips/patches-4.4/0901-spansion_nand_id_fix.patch +++ b/target/linux/ramips/patches-4.4/0901-spansion_nand_id_fix.patch @@ -13,7 +13,7 @@ Signed-off-by: Nikolay Martynov --- a/drivers/mtd/nand/nand_base.c +++ b/drivers/mtd/nand/nand_base.c -@@ -3574,6 +3574,7 @@ static void nand_decode_ext_id(struct mt +@@ -3579,6 +3579,7 @@ static void nand_decode_ext_id(struct mt /* * Field definitions are in the following datasheets: * Old style (4,5 byte ID): Samsung K9GAG08U0M (p.32) @@ -21,7 +21,7 @@ Signed-off-by: Nikolay Martynov * New Samsung (6 byte ID): Samsung K9GAG08U0F (p.44) * Hynix MLC (6 byte ID): Hynix H27UBG8T2B (p.22) * -@@ -3671,6 +3672,19 @@ static void nand_decode_ext_id(struct mt +@@ -3676,6 +3677,19 @@ static void nand_decode_ext_id(struct mt *busw = (extid & 0x01) ? NAND_BUSWIDTH_16 : 0; /* -- cgit v1.1