mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
1a97a477e6
commit
c8081fc397
|
@ -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[] = {
|
||||
|
|
Loading…
Reference in New Issue