commit | e3b353bb3bfade4a5fe8e1f363be7eb2bfbc65dd | [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 | 814c6bd36c4b6faf808c669331d2257a8323b867 [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>