commit | b638814e91f772beb1c05e4d04cf6513ac37af59 | [log] [tgz] |
---|---|---|
author | Marek BehĂșn <marek.behun@nic.cz> | Thu Apr 07 00:33:07 2022 +0200 |
committer | Ramon Fried <ramon@neureality.ai> | Sun Apr 10 08:44:13 2022 +0300 |
tree | da90717a6dec821db91f25881efad176715ba66a | |
parent | 79bef5fb1f0ce6b090017d2525a42f94e1577673 [diff] |
bcmgenet, sun8i_emac: Don't connect PHY two times The bcmgenet and sun8i_emac drivers call phy_connect(), which finds / creates the PHY and also connects it to the eth device via phy_connect_dev(), then set some phydev members (bcmgenet only), and then call phy_connect_dev() explicitly again. Drop the second phy_connect_dev(), since it is unnecesary. Signed-off-by: Marek BehĂșn <marek.behun@nic.cz> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>