r8152: move enabling PHY
authorhayeswang <hayeswang@realtek.com>
Tue, 20 Sep 2016 08:22:06 +0000 (16:22 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Sep 2016 04:53:47 +0000 (00:53 -0400)
commit2dd436daac7848dbf3fe799cf59c1408871a14e3
treed91ba5e97335a5f8880dc3a14fbe0f1ad07aac61
parente6449539828ac3b7c74b648793291640bcca8259
r8152: move enabling PHY

Move enabling PHY to init(), otherwise some other settings may fail.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c