net: phy: DP83TC811: Fix SGMII enable/disable
authorDan Murphy <dmurphy@ti.com>
Fri, 29 Jun 2018 15:35:46 +0000 (10:35 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Jul 2018 02:38:07 +0000 (11:38 +0900)
commit00f553660a7f524a3b913cb5cf6c5f33f9638f09
treeefe9c985464a996e4316078d70bb2f2c68a1208a
parent42036383599e53fc4b3d9aab52d1492c561ab650
net: phy: DP83TC811: Fix SGMII enable/disable

If SGMII was selected in the DT then the device should
write the SGMII enable bit.

If SGMII is not selected in the DT then the SGMII bit
should be disabled.

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/dp83tc811.c