diff options
author | Florian Fainelli <[email protected]> | 2018-09-25 11:28:45 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-09-25 20:26:45 -0700 |
commit | 6e2d85ec05591b739059f65fe8438c9c5999f7d8 (patch) | |
tree | da667d2b9cabd10c61b44e219730cf21696e755b /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 71f9b61c5b3f894fdc9dff9e511a961ada122862 (diff) |
net: phy: Stop with excessive soft reset
While consolidating the PHY reset in phy_init_hw() an unconditionaly
BMCR soft-reset I became quite trigger happy with those. This was later
on deactivated for the Generic PHY driver on the premise that a prior
software entity (e.g: bootloader) might have applied workarounds in
commit 0878fff1f42c ("net: phy: Do not perform software reset for
Generic PHY").
Since we have a hook to wire-up a soft_reset callback, just use that and
get rid of the call to genphy_soft_reset() entirely. This speeds up
initialization and link establishment for most PHYs out there that do
not require a reset.
Fixes: 87aa9f9c61ad ("net: phy: consolidate PHY reset in phy_init_hw()")
Tested-by: Wang, Dongsheng <[email protected]>
Tested-by: Chris Healy <[email protected]>
Tested-by: Andrew Lunn <[email protected]>
Tested-by: Clemens Gruber <[email protected]>
Signed-off-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions