Message ID | 20240215182732.1536941-2-justin.chen@broadcom.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 5b76d928f8b779a1b19c5842e7cabee4cbb610c3 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | net: bcmasp: bug fixes for bcmasp | expand |
diff --git a/drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c b/drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c index f59557b0cd51..6ad1366270f7 100644 --- a/drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c +++ b/drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c @@ -1050,6 +1050,9 @@ static int bcmasp_netif_init(struct net_device *dev, bool phy_connect) netdev_err(dev, "could not attach to PHY\n"); goto err_phy_disable; } + + /* Indicate that the MAC is responsible for PHY PM */ + phydev->mac_managed_pm = true; } else if (!intf->wolopts) { ret = phy_resume(dev->phydev); if (ret)