generic: fix BCM54612E suspend/resume backport patch
This backport patch inserted suspend/resume callbacks for the wrong PHY driver. The fixed patch is needed for Huawei AP5030DN to initialize its second PHY. Refresh all affected patch with make target/linux/refresh. Fixes:06cdc07f8c("ath79: add support for Huawei AP5030DN") Signed-off-by: Marco von Rosenberg <marcovr@selfnet.de> Link: https://github.com/openwrt/openwrt/pull/17312 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commitd7f638bc69)
This commit is contained in:
committed by
Hauke Mehrtens
parent
5289460fd0
commit
8667ca841b
@@ -26,7 +26,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
|
||||
return;
|
||||
|
||||
val = bcm_phy_read_shadow(phydev, BCM54XX_SHD_SCR3);
|
||||
@@ -1021,7 +1022,7 @@ static struct phy_driver broadcom_driver
|
||||
@@ -1019,7 +1020,7 @@ static struct phy_driver broadcom_driver
|
||||
.link_change_notify = bcm54xx_link_change_notify,
|
||||
}, {
|
||||
.phy_id = PHY_ID_BCM54210E,
|
||||
@@ -35,7 +35,7 @@ Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
|
||||
.name = "Broadcom BCM54210E",
|
||||
/* PHY_GBIT_FEATURES */
|
||||
.flags = PHY_ALWAYS_CALL_SUSPEND,
|
||||
@@ -1039,6 +1040,13 @@ static struct phy_driver broadcom_driver
|
||||
@@ -1037,6 +1038,13 @@ static struct phy_driver broadcom_driver
|
||||
.set_wol = bcm54xx_phy_set_wol,
|
||||
.led_brightness_set = bcm_phy_led_brightness_set,
|
||||
}, {
|
||||
|
||||
@@ -16,7 +16,7 @@ Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
|
||||
|
||||
--- a/drivers/net/phy/broadcom.c
|
||||
+++ b/drivers/net/phy/broadcom.c
|
||||
@@ -1052,8 +1052,14 @@ static struct phy_driver broadcom_driver
|
||||
@@ -1050,8 +1050,14 @@ static struct phy_driver broadcom_driver
|
||||
.phy_id_mask = 0xffffffff,
|
||||
.name = "Broadcom BCM54213PE",
|
||||
/* PHY_GBIT_FEATURES */
|
||||
|
||||
Reference in New Issue
Block a user