mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 02:29:01 +00:00
6bf179b270
Switch to the mainline Lantiq PCIe PHY driver and update the vr9.dtsi accordingly. The Lantiq IRQ SMP support added upstream required changes to the SoC dtsi as well. Following changes are made to the Lantiq kernel patches: 0005-lantiq_etop-pass-struct-device-to-DMA-API-functions.patch 0006-MIPS-lantiq-pass-struct-device-to-DMA-API-functions.patch applied upstream 0008-MIPS-lantiq-backport-old-timer-code.patch access_ok API update because it lost it's type (which was the first) parameter in upstream commit 96d4f267e40f95 ("Remove 'type' argument from access_ok() function") 0024-MIPS-lantiq-autoselect-soc-rev-matching-fw.patch merged into 0026-MIPS-lantiq-Add-GPHY-Firmware-loader.patch 0024-MIPS-lantiq-revert-DSA-switch-driver-PMU-clock-chang.patch revert upstream changes required for upstream xrx200 ethernet and xrx200 (DSA) switch driver but breaking our driver 0026-MIPS-lantiq-Add-GPHY-Firmware-loader.patch required for our driver but dropped upstream, add former upstream version 0028-NET-lantiq-various-etop-fixes.patch now has to use the phy_set_max_speed API instead of modifying phydev->supported. Also call ltq_dma_enable_irq() in ltq_etop_open() based on upstream commit cc973aecf0b054 ("MIPS: lantiq: Do not enable IRQs in dma open") Signed-off-by: Mathias Kresin <dev@kresin.me> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
26 lines
958 B
Diff
26 lines
958 B
Diff
From d2fee0bb982195540e4fbe009996fcdbc26d163c Mon Sep 17 00:00:00 2001
|
|
From: Mathias Kresin <dev@kresin.me>
|
|
Date: Thu, 5 Mar 2020 08:17:27 +0100
|
|
Subject: [PATCH] pinctrl: falcon: fix syntax error
|
|
|
|
Add the missing semicolon after of_node_put to get the file compiled.
|
|
|
|
Fixes: f17d2f54d36d ("pinctrl: falcon: Add of_node_put() before return")
|
|
Cc: stable@vger.kernel.org # v5.4+
|
|
Signed-off-by: Mathias Kresin <dev@kresin.me>
|
|
---
|
|
drivers/pinctrl/pinctrl-falcon.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/pinctrl/pinctrl-falcon.c
|
|
+++ b/drivers/pinctrl/pinctrl-falcon.c
|
|
@@ -451,7 +451,7 @@ static int pinctrl_falcon_probe(struct p
|
|
falcon_info.clk[*bank] = clk_get(&ppdev->dev, NULL);
|
|
if (IS_ERR(falcon_info.clk[*bank])) {
|
|
dev_err(&ppdev->dev, "failed to get clock\n");
|
|
- of_node_put(np)
|
|
+ of_node_put(np);
|
|
return PTR_ERR(falcon_info.clk[*bank]);
|
|
}
|
|
falcon_info.membase[*bank] = devm_ioremap_resource(&pdev->dev,
|