Message ID | 20240219204053.471825-4-florian.fainelli@broadcom.com (mailing list archive) |
---|---|
State | Accepted |
Commit | ba0b78371c46b2104197ff2c244f13f011ddfa80 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | Rework GENET MDIO controller clocking | expand |
diff --git a/drivers/net/ethernet/broadcom/genet/bcmmii.c b/drivers/net/ethernet/broadcom/genet/bcmmii.c index 7a21950da77c..9ada89355747 100644 --- a/drivers/net/ethernet/broadcom/genet/bcmmii.c +++ b/drivers/net/ethernet/broadcom/genet/bcmmii.c @@ -678,7 +678,5 @@ void bcmgenet_mii_exit(struct net_device *dev) if (of_phy_is_fixed_link(dn)) of_phy_deregister_fixed_link(dn); of_node_put(priv->phy_dn); - clk_prepare_enable(priv->clk); platform_device_unregister(priv->mii_pdev); - clk_disable_unprepare(priv->clk); }