From 771f1ca3ffe10871893751ab384de3b7a9b06610 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 9 Apr 2018 09:55:48 +0200 Subject: brcm63xx: remove linux 4.4 support Signed-off-by: Felix Fietkau --- ...ial-bcm63xx_uart-use-correct-alias-naming.patch | 37 ---------------------- 1 file changed, 37 deletions(-) delete mode 100644 target/linux/brcm63xx/patches-4.4/000-4.8-11-serial-bcm63xx_uart-use-correct-alias-naming.patch (limited to 'target/linux/brcm63xx/patches-4.4/000-4.8-11-serial-bcm63xx_uart-use-correct-alias-naming.patch') diff --git a/target/linux/brcm63xx/patches-4.4/000-4.8-11-serial-bcm63xx_uart-use-correct-alias-naming.patch b/target/linux/brcm63xx/patches-4.4/000-4.8-11-serial-bcm63xx_uart-use-correct-alias-naming.patch deleted file mode 100644 index 9f4e21aab5..0000000000 --- a/target/linux/brcm63xx/patches-4.4/000-4.8-11-serial-bcm63xx_uart-use-correct-alias-naming.patch +++ /dev/null @@ -1,37 +0,0 @@ -From a59388668d0ce19dadea909e09f4eb905a27b1ce Mon Sep 17 00:00:00 2001 -From: Jonas Gorski -Date: Wed, 8 Jun 2016 12:08:43 +0200 -Subject: [PATCH] serial/bcm63xx_uart: use correct alias naming - -The bcm63xx_uart driver uses the of alias for determing its id. Recent -changes in dts files changed the expected 'uartX' to the recommended -'serialX', breaking serial output. Fix this by checking for a 'serialX' -alias as well. - -Fixes: e3b992d028f8 ("MIPS: BMIPS: Improve BCM6328 device tree") -Fixes: 2d52ee82b475 ("MIPS: BMIPS: Improve BCM6368 device tree") -Fixes: 7537d273e2f3 ("MIPS: BMIPS: Add device tree example for BCM6358") -Signed-off-by: Jonas Gorski -Acked-by: Florian Fainelli -Signed-off-by: Greg Kroah-Hartman ---- - drivers/tty/serial/bcm63xx_uart.c | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - ---- a/drivers/tty/serial/bcm63xx_uart.c -+++ b/drivers/tty/serial/bcm63xx_uart.c -@@ -813,8 +813,12 @@ static int bcm_uart_probe(struct platfor - struct clk *clk; - int ret; - -- if (pdev->dev.of_node) -- pdev->id = of_alias_get_id(pdev->dev.of_node, "uart"); -+ if (pdev->dev.of_node) { -+ pdev->id = of_alias_get_id(pdev->dev.of_node, "serial"); -+ -+ if (pdev->id < 0) -+ pdev->id = of_alias_get_id(pdev->dev.of_node, "uart"); -+ } - - if (pdev->id < 0 || pdev->id >= BCM63XX_NR_UARTS) - return -EINVAL; -- cgit v1.2.3