diff options
author | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2020-03-09 12:39:35 +0100 |
---|---|---|
committer | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2020-03-09 20:43:53 +0100 |
commit | f9f62d43e448f58d25749efa8b2aabc7f2d51e53 (patch) | |
tree | 6a69f28d11895bd28e04b580981b23ca3cc7943e /target/linux/ipq806x | |
parent | e64564920a9fa164e9657942de35333d4299abe0 (diff) | |
download | upstream-f9f62d43e448f58d25749efa8b2aabc7f2d51e53.tar.gz upstream-f9f62d43e448f58d25749efa8b2aabc7f2d51e53.tar.bz2 upstream-f9f62d43e448f58d25749efa8b2aabc7f2d51e53.zip |
kernel: bump 5.4 to 5.4.24
Refreshed all patches.
Compile-tested on: imx6
Runtime-tested on: imx6
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/ipq806x')
-rw-r--r-- | target/linux/ipq806x/patches-5.4/0076-watchdog-qcom-wdt-disable-pretimeout-on-timer-platfo.patch | 15 | ||||
-rw-r--r-- | target/linux/ipq806x/patches-5.4/701-stmmac-fix-notifier-registration.patch | 15 |
2 files changed, 10 insertions, 20 deletions
diff --git a/target/linux/ipq806x/patches-5.4/0076-watchdog-qcom-wdt-disable-pretimeout-on-timer-platfo.patch b/target/linux/ipq806x/patches-5.4/0076-watchdog-qcom-wdt-disable-pretimeout-on-timer-platfo.patch index 394af16e12..cc60cd7a08 100644 --- a/target/linux/ipq806x/patches-5.4/0076-watchdog-qcom-wdt-disable-pretimeout-on-timer-platfo.patch +++ b/target/linux/ipq806x/patches-5.4/0076-watchdog-qcom-wdt-disable-pretimeout-on-timer-platfo.patch @@ -13,11 +13,9 @@ Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> drivers/watchdog/qcom-wdt.c | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) -diff --git a/drivers/watchdog/qcom-wdt.c b/drivers/watchdog/qcom-wdt.c -index a494543d3ae1..d13c75028985 100644 --- a/drivers/watchdog/qcom-wdt.c +++ b/drivers/watchdog/qcom-wdt.c -@@ -40,6 +40,11 @@ static const u32 reg_offset_data_kpss[] = { +@@ -40,6 +40,11 @@ static const u32 reg_offset_data_kpss[] [WDT_BITE_TIME] = 0x14, }; @@ -29,7 +27,7 @@ index a494543d3ae1..d13c75028985 100644 struct qcom_wdt { struct watchdog_device wdd; unsigned long rate; -@@ -179,19 +184,29 @@ static void qcom_clk_disable_unprepare(void *data) +@@ -179,19 +184,29 @@ static void qcom_clk_disable_unprepare(v clk_disable_unprepare(data); } @@ -62,7 +60,7 @@ index a494543d3ae1..d13c75028985 100644 dev_err(dev, "Unsupported QCOM WDT module\n"); return -ENODEV; } -@@ -247,7 +262,7 @@ static int qcom_wdt_probe(struct platform_device *pdev) +@@ -247,7 +262,7 @@ static int qcom_wdt_probe(struct platfor /* check if there is pretimeout support */ irq = platform_get_irq_optional(pdev, 0); @@ -71,7 +69,7 @@ index a494543d3ae1..d13c75028985 100644 ret = devm_request_irq(dev, irq, qcom_wdt_isr, IRQF_TRIGGER_RISING, "wdt_bark", &wdt->wdd); -@@ -267,7 +282,7 @@ static int qcom_wdt_probe(struct platform_device *pdev) +@@ -267,7 +282,7 @@ static int qcom_wdt_probe(struct platfor wdt->wdd.min_timeout = 1; wdt->wdd.max_timeout = 0x10000000U / wdt->rate; wdt->wdd.parent = dev; @@ -80,7 +78,7 @@ index a494543d3ae1..d13c75028985 100644 if (readl(wdt_addr(wdt, WDT_STS)) & 1) wdt->wdd.bootstatus = WDIOF_CARDRESET; -@@ -311,9 +326,9 @@ static int __maybe_unused qcom_wdt_resume(struct device *dev) +@@ -311,9 +326,9 @@ static int __maybe_unused qcom_wdt_resum static SIMPLE_DEV_PM_OPS(qcom_wdt_pm_ops, qcom_wdt_suspend, qcom_wdt_resume); static const struct of_device_id qcom_wdt_of_table[] = { @@ -93,6 +91,3 @@ index a494543d3ae1..d13c75028985 100644 { }, }; MODULE_DEVICE_TABLE(of, qcom_wdt_of_table); --- -2.24.0 - diff --git a/target/linux/ipq806x/patches-5.4/701-stmmac-fix-notifier-registration.patch b/target/linux/ipq806x/patches-5.4/701-stmmac-fix-notifier-registration.patch index 187cbacde0..2c25ad33e8 100644 --- a/target/linux/ipq806x/patches-5.4/701-stmmac-fix-notifier-registration.patch +++ b/target/linux/ipq806x/patches-5.4/701-stmmac-fix-notifier-registration.patch @@ -16,11 +16,9 @@ Signed-off-by: David S. Miller <davem@davemloft.net> (limited to 'drivers/net/ethernet/stmicro/stmmac') -diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c -index 5836b21edd7e..7da18c9afa01 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c -@@ -4405,6 +4405,8 @@ static void stmmac_init_fs(struct net_device *dev) +@@ -4208,6 +4208,8 @@ static void stmmac_init_fs(struct net_de { struct stmmac_priv *priv = netdev_priv(dev); @@ -29,7 +27,7 @@ index 5836b21edd7e..7da18c9afa01 100644 /* Create per netdev entries */ priv->dbgfs_dir = debugfs_create_dir(dev->name, stmmac_fs_dir); -@@ -4416,14 +4418,13 @@ static void stmmac_init_fs(struct net_device *dev) +@@ -4219,14 +4221,13 @@ static void stmmac_init_fs(struct net_de debugfs_create_file("dma_cap", 0444, priv->dbgfs_dir, dev, &stmmac_dma_cap_fops); @@ -45,7 +43,7 @@ index 5836b21edd7e..7da18c9afa01 100644 debugfs_remove_recursive(priv->dbgfs_dir); } #endif /* CONFIG_DEBUG_FS */ -@@ -4940,14 +4941,14 @@ int stmmac_dvr_remove(struct device *dev) +@@ -4728,14 +4729,14 @@ int stmmac_dvr_remove(struct device *dev netdev_info(priv->dev, "%s: removing driver", __func__); @@ -63,7 +61,7 @@ index 5836b21edd7e..7da18c9afa01 100644 phylink_destroy(priv->phylink); if (priv->plat->stmmac_rst) reset_control_assert(priv->plat->stmmac_rst); -@@ -5166,6 +5167,7 @@ static int __init stmmac_init(void) +@@ -4955,6 +4956,7 @@ static int __init stmmac_init(void) /* Create debugfs main directory if it doesn't exist yet */ if (!stmmac_fs_dir) stmmac_fs_dir = debugfs_create_dir(STMMAC_RESOURCE_NAME, NULL); @@ -71,7 +69,7 @@ index 5836b21edd7e..7da18c9afa01 100644 #endif return 0; -@@ -5174,6 +5176,7 @@ static int __init stmmac_init(void) +@@ -4963,6 +4965,7 @@ static int __init stmmac_init(void) static void __exit stmmac_exit(void) { #ifdef CONFIG_DEBUG_FS @@ -79,6 +77,3 @@ index 5836b21edd7e..7da18c9afa01 100644 debugfs_remove_recursive(stmmac_fs_dir); #endif } --- -cgit 1.2-0.3.lf.el7 - |