dp83640: Ensure against premature access to PHY registers after reset
authorEsben Haabendal <eha@deif.com>
Sun, 8 Apr 2018 20:17:01 +0000 (22:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 Apr 2018 23:58:52 +0000 (19:58 -0400)
commit76327a35caabd1a932e83d6a42b967aa08584e5d
tree20e09986c1447e1091b36d0f09c33a037549218c
parent1f1cba787f5b2c03e3d103829cc02a74a7c9110a
dp83640: Ensure against premature access to PHY registers after reset

The datasheet specifies a 3uS pause after performing a software
reset. The default implementation of genphy_soft_reset() does not
provide this, so implement soft_reset with the needed pause.

Signed-off-by: Esben Haabendal <eha@deif.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/dp83640.c