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
@@ -16,12 +16,12 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
|
||||
|
||||
--- a/drivers/net/phy/broadcom.c
|
||||
+++ b/drivers/net/phy/broadcom.c
|
||||
@@ -1001,6 +1001,8 @@ static struct phy_driver broadcom_driver
|
||||
.config_intr = bcm_phy_config_intr,
|
||||
@@ -1061,6 +1061,8 @@ static struct phy_driver broadcom_driver
|
||||
.handle_interrupt = bcm_phy_handle_interrupt,
|
||||
.link_change_notify = bcm54xx_link_change_notify,
|
||||
.led_brightness_set = bcm_phy_led_brightness_set,
|
||||
+ .suspend = bcm54xx_suspend,
|
||||
+ .resume = bcm54xx_resume,
|
||||
}, {
|
||||
.phy_id = PHY_ID_BCM5421,
|
||||
.phy_id = PHY_ID_BCM54616S,
|
||||
.phy_id_mask = 0xfffffff0,
|
||||
|
||||
Reference in New Issue
Block a user