Skip to content

Commit

Permalink
net: phy: dp83867: do not call config_init twice
Browse files Browse the repository at this point in the history
Phy state machine calls _config_init just after
reset.

Signed-off-by: Max Uvarov <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
muvarov authored and davem330 committed May 29, 2019
1 parent 1a97a47 commit c8081fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/phy/dp83867.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ static int dp83867_phy_reset(struct phy_device *phydev)

usleep_range(10, 20);

return dp83867_config_init(phydev);
return 0;
}

static struct phy_driver dp83867_driver[] = {
Expand Down

0 comments on commit c8081fc

Please sign in to comment.