]> 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)
commit18d246ac1fa931f50074eb610e0be9c05051b7d9
tree91c8ecfea0ecba6b9501db0a9db95172e7ba705f
parent98daf24677d699b17a06809d9d41126467508ecc
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