]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: call phy_init_eee
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Tue, 1 Aug 2017 20:32:37 +0000 (16:32 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Aug 2017 03:09:10 +0000 (20:09 -0700)
commitb5b23ad809f6335f58e28a5352c5898b7e8d3be2
tree91c8ecfea0ecba6b9501db0a9db95172e7ba705f
parent7da208ec7587d9e4d0878b78d5778d81007d6422
net: dsa: mv88e6xxx: call phy_init_eee

It is safer to init the EEE before the DSA layer call
phy_ethtool_set_eee, as sf2 and qca8k are doing.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c