diff options
author | Max Uvarov <muvarov@gmail.com> | 2019-05-28 13:00:51 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-29 14:28:48 -0700 |
commit | c8081fc397fa04675e410900693a57085ef4b760 (patch) | |
tree | 1d8861b8d9992c6665112ba62e8816f96eedbaa7 | |
parent | 1a97a477e666cbdededab93bd3754e508f0c09d7 (diff) |
net: phy: dp83867: do not call config_init twice
Phy state machine calls _config_init just after
reset.
Signed-off-by: Max Uvarov <muvarov@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/phy/dp83867.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/dp83867.c b/drivers/net/phy/dp83867.c index 14e9e8a94639..1ec48ecf4133 100644 --- a/drivers/net/phy/dp83867.c +++ b/drivers/net/phy/dp83867.c @@ -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[] = { |