summaryrefslogtreecommitdiffstats
path: root/kernel/kmod.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2015-07-16 15:51:14 -0700
committerDavid S. Miller <davem@davemloft.net>2015-07-20 20:48:14 -0700
commit6ac3ce8295e6763b86e5a7bfd61275f51e0a3fd3 (patch)
treebf51bed2159e910723741635c21cc287eb54df83 /kernel/kmod.c
parent2c1bcaffe8c48fa00735d97ea9552c87159a838c (diff)
downloadlinux-6ac3ce8295e6763b86e5a7bfd61275f51e0a3fd3.tar.bz2
net: bcmgenet: Remove excessive PHY reset
We are currently issuing multiple PHY resets during a suspend/resume, first during bcmgenet_power_up() which does a hardware reset, then a software reset by calling bcmgenet_mii_reset(). This is both unnecessary and can take as long as 10ms per MDIO transactions while we re-apply workarounds because we do not yet have MDIO interrupts enabled. phy_resume() takes care of re-apply our workarounds in case we need any, and bcmgenet_power_up() does a PHY hardware reset, all of this is more than enough to guarantee that the PHY operates correctly. Fixes: 1c1008c793fa4 ("net: bcmgenet: add main driver file") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/kmod.c')
0 files changed, 0 insertions, 0 deletions