diff options
author | Florian Fainelli <florian.fainelli@broadcom.com> | 2024-02-19 21:40:53 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-02-21 13:46:17 +0100 |
commit | ba0b78371c46b2104197ff2c244f13f011ddfa80 (patch) | |
tree | 5fb9b46d2fc1e5dc63ee0194de997b1f13fb5227 /drivers/net/ethernet/broadcom/genet | |
parent | net: bcmgenet: Pass "main" clock down to the MDIO driver (diff) | |
download | linux-ba0b78371c46b2104197ff2c244f13f011ddfa80.tar.xz linux-ba0b78371c46b2104197ff2c244f13f011ddfa80.zip |
Revert "net: bcmgenet: Ensure MDIO unregistration has clocks enabled"
This reverts commit 1b5ea7ffb7a3bdfffb4b7f40ce0d20a3372ee405 ("net:
bcmgenet: Ensure MDIO unregistration has clocks enabled"). This is no
longer necessary now that the MDIO bus controller has a clock that it
can manage around the I/O accesses.
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/genet')
-rw-r--r-- | drivers/net/ethernet/broadcom/genet/bcmmii.c | 2 |
1 files changed, 0 insertions, 2 deletions
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); } |