net: phy: mdio_device: Reset device only when necessary
JIRA: https://issues.redhat.com/browse/RHEL-21837
Backport a change to optimize the usage of the mdio_device reset. This saves (2 * deassert time) to get the ethernet phy up. For sa8775p-ride, this saves at least 140 ms (out of the 2 second budget customer requirements mandate) to get ethernet up.
Signed-off-by: Andrew Halaney ahalaney@redhat.com
Edited by Andrew Halaney