mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 14:37:57 +00:00
5aa63c2b85
Refresh backport patches for kernel 6.1.82 with make target/linux/refresh.
Fixes: 06cdc07f8c
("ath79: add support for Huawei AP5030DN")
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
28 lines
1000 B
Diff
28 lines
1000 B
Diff
From 380b50ae3a04222334a3779b3787eba844b1177f Mon Sep 17 00:00:00 2001
|
|
From: Marco von Rosenberg <marcovr@selfnet.de>
|
|
Date: Thu, 16 Nov 2023 20:32:31 +0100
|
|
Subject: net: phy: broadcom: Wire suspend/resume for BCM54612E
|
|
|
|
The BCM54612E ethernet PHY supports IDDQ-SR.
|
|
Therefore wire-up the suspend and resume callbacks
|
|
to point to bcm54xx_suspend() and bcm54xx_resume().
|
|
|
|
Signed-off-by: Marco von Rosenberg <marcovr@selfnet.de>
|
|
Acked-by: Florian Fainelli <florian.fainelli@broadcom.com>
|
|
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
---
|
|
drivers/net/phy/broadcom.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
--- a/drivers/net/phy/broadcom.c
|
|
+++ b/drivers/net/phy/broadcom.c
|
|
@@ -942,6 +942,8 @@ static struct phy_driver broadcom_driver
|
|
.config_intr = bcm_phy_config_intr,
|
|
.handle_interrupt = bcm_phy_handle_interrupt,
|
|
.link_change_notify = bcm54xx_link_change_notify,
|
|
+ .suspend = bcm54xx_suspend,
|
|
+ .resume = bcm54xx_resume,
|
|
}, {
|
|
.phy_id = PHY_ID_BCM54616S,
|
|
.phy_id_mask = 0xfffffff0,
|