aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/at91/patches-5.10/117-net-macb-add-function-to-disable-all-macb-clocks.patch
diff options
context:
space:
mode:
authorJohn Audia <graysky@archlinux.us>2022-04-27 14:14:45 -0400
committerHauke Mehrtens <hauke@hauke-m.de>2022-05-01 14:13:15 +0200
commitd90c7621f40fde2dd01d08b4463cde755173b6ed (patch)
tree022690f0e7d53e5a60124848a61fa0e0a9120a99 /target/linux/at91/patches-5.10/117-net-macb-add-function-to-disable-all-macb-clocks.patch
parente9c14fa85f4d517ad1729b4b2a1a5ba1b316f189 (diff)
downloadupstream-d90c7621f40fde2dd01d08b4463cde755173b6ed.tar.gz
upstream-d90c7621f40fde2dd01d08b4463cde755173b6ed.tar.bz2
upstream-d90c7621f40fde2dd01d08b4463cde755173b6ed.zip
kernel: bump 5.10 to 5.10.113
All patches automatically rebased. Build system: x86_64 Build-tested: bcm2711/RPi4B, mt7622/RT3200 Run-tested: bcm2711/RPi4B, mt7622/RT3200 Signed-off-by: John Audia <graysky@archlinux.us> (cherry picked from commit e08942e76a162962892020a0f7e52ef751ec68e4)
Diffstat (limited to 'target/linux/at91/patches-5.10/117-net-macb-add-function-to-disable-all-macb-clocks.patch')
-rw-r--r--target/linux/at91/patches-5.10/117-net-macb-add-function-to-disable-all-macb-clocks.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/at91/patches-5.10/117-net-macb-add-function-to-disable-all-macb-clocks.patch b/target/linux/at91/patches-5.10/117-net-macb-add-function-to-disable-all-macb-clocks.patch
index 20c9a4b615..a474f2a405 100644
--- a/target/linux/at91/patches-5.10/117-net-macb-add-function-to-disable-all-macb-clocks.patch
+++ b/target/linux/at91/patches-5.10/117-net-macb-add-function-to-disable-all-macb-clocks.patch
@@ -14,7 +14,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
--- a/drivers/net/ethernet/cadence/macb_main.c
+++ b/drivers/net/ethernet/cadence/macb_main.c
-@@ -3598,6 +3598,20 @@ static void macb_probe_queues(void __iom
+@@ -3606,6 +3606,20 @@ static void macb_probe_queues(void __iom
*num_queues = hweight32(*queue_mask);
}
@@ -35,7 +35,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
static int macb_clk_init(struct platform_device *pdev, struct clk **pclk,
struct clk **hclk, struct clk **tx_clk,
struct clk **rx_clk, struct clk **tsu_clk)
-@@ -4660,11 +4674,7 @@ err_out_free_netdev:
+@@ -4668,11 +4682,7 @@ err_out_free_netdev:
free_netdev(dev);
err_disable_clocks:
@@ -48,7 +48,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
pm_runtime_disable(&pdev->dev);
pm_runtime_set_suspended(&pdev->dev);
pm_runtime_dont_use_autosuspend(&pdev->dev);
-@@ -4689,11 +4699,8 @@ static int macb_remove(struct platform_d
+@@ -4697,11 +4707,8 @@ static int macb_remove(struct platform_d
pm_runtime_disable(&pdev->dev);
pm_runtime_dont_use_autosuspend(&pdev->dev);
if (!pm_runtime_suspended(&pdev->dev)) {
@@ -62,7 +62,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
pm_runtime_set_suspended(&pdev->dev);
}
phylink_destroy(bp->phylink);
-@@ -4872,13 +4879,10 @@ static int __maybe_unused macb_runtime_s
+@@ -4880,13 +4887,10 @@ static int __maybe_unused macb_runtime_s
struct net_device *netdev = dev_get_drvdata(dev);
struct macb *bp = netdev_priv(netdev);