Commit c8081fc3 authored by Max Uvarov's avatar Max Uvarov Committed by David S. Miller

net: phy: dp83867: do not call config_init twice

Phy state machine calls _config_init just after
reset.
Signed-off-by: default avatarMax Uvarov <muvarov@gmail.com>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1a97a477
...@@ -342,7 +342,7 @@ static int dp83867_phy_reset(struct phy_device *phydev) ...@@ -342,7 +342,7 @@ static int dp83867_phy_reset(struct phy_device *phydev)
usleep_range(10, 20); usleep_range(10, 20);
return dp83867_config_init(phydev); return 0;
} }
static struct phy_driver dp83867_driver[] = { static struct phy_driver dp83867_driver[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment