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)
commit7f5c6d7cdda7b67b11659cb5d2cfbaf5210d2fa8
tree91c8ecfea0ecba6b9501db0a9db95172e7ba705f
parentb11af0ce11d1ca3d6292cda01fc2609309247f7a
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