From 4f6837180e9aca525b107891e5f53373dc802038 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 22 Sep 2019 19:38:19 +0200 Subject: kernel: Update to version 4.4.194 Compile and runtime tested on lantiq. Signed-off-by: Hauke Mehrtens --- .../0012-spi-bcm2835-Support-pin-groups-other-than-7-11.patch | 4 ++-- target/linux/brcm2708/patches-4.4/0029-Add-dwc_otg-driver.patch | 2 +- .../0061-config-Enable-CONFIG_MEMCG-but-leave-it-disabled-due.patch | 4 ++-- .../patches-4.4/0419-spi-bcm2835-Disable-forced-software-CS.patch | 4 ++-- .../brcm2708/patches-4.4/0530-spi-bcm2835-Remove-unused-code.patch | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) (limited to 'target/linux/brcm2708/patches-4.4') diff --git a/target/linux/brcm2708/patches-4.4/0012-spi-bcm2835-Support-pin-groups-other-than-7-11.patch b/target/linux/brcm2708/patches-4.4/0012-spi-bcm2835-Support-pin-groups-other-than-7-11.patch index 2a0934e34c..53fb2f576d 100644 --- a/target/linux/brcm2708/patches-4.4/0012-spi-bcm2835-Support-pin-groups-other-than-7-11.patch +++ b/target/linux/brcm2708/patches-4.4/0012-spi-bcm2835-Support-pin-groups-other-than-7-11.patch @@ -19,7 +19,7 @@ Signed-off-by: Phil Elwell --- a/drivers/spi/spi-bcm2835.c +++ b/drivers/spi/spi-bcm2835.c -@@ -686,6 +686,8 @@ static int bcm2835_spi_setup(struct spi_ +@@ -687,6 +687,8 @@ static int bcm2835_spi_setup(struct spi_ { int err; struct gpio_chip *chip; @@ -28,7 +28,7 @@ Signed-off-by: Phil Elwell /* * sanity checking the native-chipselects */ -@@ -702,15 +704,42 @@ static int bcm2835_spi_setup(struct spi_ +@@ -703,15 +705,42 @@ static int bcm2835_spi_setup(struct spi_ "setup: only two native chip-selects are supported\n"); return -EINVAL; } diff --git a/target/linux/brcm2708/patches-4.4/0029-Add-dwc_otg-driver.patch b/target/linux/brcm2708/patches-4.4/0029-Add-dwc_otg-driver.patch index 3acc5b3b7c..bf450f2386 100644 --- a/target/linux/brcm2708/patches-4.4/0029-Add-dwc_otg-driver.patch +++ b/target/linux/brcm2708/patches-4.4/0029-Add-dwc_otg-driver.patch @@ -659,7 +659,7 @@ dwc_otg: Remove duplicate gadget probe/unregister function } --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c -@@ -5014,7 +5014,7 @@ static void port_event(struct usb_hub *h +@@ -5021,7 +5021,7 @@ static void port_event(struct usb_hub *h if (portchange & USB_PORT_STAT_C_OVERCURRENT) { u16 status = 0, unused; diff --git a/target/linux/brcm2708/patches-4.4/0061-config-Enable-CONFIG_MEMCG-but-leave-it-disabled-due.patch b/target/linux/brcm2708/patches-4.4/0061-config-Enable-CONFIG_MEMCG-but-leave-it-disabled-due.patch index ecc58f5814..6af5de4bb8 100644 --- a/target/linux/brcm2708/patches-4.4/0061-config-Enable-CONFIG_MEMCG-but-leave-it-disabled-due.patch +++ b/target/linux/brcm2708/patches-4.4/0061-config-Enable-CONFIG_MEMCG-but-leave-it-disabled-due.patch @@ -10,7 +10,7 @@ Subject: [PATCH] config: Enable CONFIG_MEMCG, but leave it disabled (due to --- a/kernel/cgroup.c +++ b/kernel/cgroup.c -@@ -5315,7 +5315,7 @@ int __init cgroup_init_early(void) +@@ -5321,7 +5321,7 @@ int __init cgroup_init_early(void) return 0; } @@ -19,7 +19,7 @@ Subject: [PATCH] config: Enable CONFIG_MEMCG, but leave it disabled (due to /** * cgroup_init - cgroup initialization -@@ -5811,6 +5811,27 @@ static int __init cgroup_disable(char *s +@@ -5817,6 +5817,27 @@ static int __init cgroup_disable(char *s } __setup("cgroup_disable=", cgroup_disable); diff --git a/target/linux/brcm2708/patches-4.4/0419-spi-bcm2835-Disable-forced-software-CS.patch b/target/linux/brcm2708/patches-4.4/0419-spi-bcm2835-Disable-forced-software-CS.patch index 6f365dd9fc..40c422d4b0 100644 --- a/target/linux/brcm2708/patches-4.4/0419-spi-bcm2835-Disable-forced-software-CS.patch +++ b/target/linux/brcm2708/patches-4.4/0419-spi-bcm2835-Disable-forced-software-CS.patch @@ -28,7 +28,7 @@ Signed-off-by: Phil Elwell i2c0: i2c@7e205000 { --- a/drivers/spi/spi-bcm2835.c +++ b/drivers/spi/spi-bcm2835.c -@@ -705,6 +705,7 @@ static int bcm2835_spi_setup(struct spi_ +@@ -706,6 +706,7 @@ static int bcm2835_spi_setup(struct spi_ return -EINVAL; } @@ -36,7 +36,7 @@ Signed-off-by: Phil Elwell /* now translate native cs to GPIO */ /* first look for chip select pins in the devices pin groups */ for (pingroup_index = 0; -@@ -759,6 +760,7 @@ static int bcm2835_spi_setup(struct spi_ +@@ -760,6 +761,7 @@ static int bcm2835_spi_setup(struct spi_ * so we are setting it here explicitly */ gpio_set_value(spi->cs_gpio, (spi->mode & SPI_CS_HIGH) ? 0 : 1); diff --git a/target/linux/brcm2708/patches-4.4/0530-spi-bcm2835-Remove-unused-code.patch b/target/linux/brcm2708/patches-4.4/0530-spi-bcm2835-Remove-unused-code.patch index 038f207440..b043d59922 100644 --- a/target/linux/brcm2708/patches-4.4/0530-spi-bcm2835-Remove-unused-code.patch +++ b/target/linux/brcm2708/patches-4.4/0530-spi-bcm2835-Remove-unused-code.patch @@ -9,7 +9,7 @@ Subject: [PATCH] spi-bcm2835: Remove unused code --- a/drivers/spi/spi-bcm2835.c +++ b/drivers/spi/spi-bcm2835.c -@@ -677,17 +677,8 @@ static void bcm2835_spi_set_cs(struct sp +@@ -678,17 +678,8 @@ static void bcm2835_spi_set_cs(struct sp bcm2835_wr(bs, BCM2835_SPI_CS, cs); } @@ -27,7 +27,7 @@ Subject: [PATCH] spi-bcm2835: Remove unused code /* * sanity checking the native-chipselects */ -@@ -705,63 +696,6 @@ static int bcm2835_spi_setup(struct spi_ +@@ -706,63 +697,6 @@ static int bcm2835_spi_setup(struct spi_ return -EINVAL; } -- cgit v1.2.3