net: phy: dp83867: Set FORCE_LINK_GOOD to default after reset
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Thu, 16 Jan 2020 13:16:31 +0000 (14:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Jan 2020 10:36:18 +0000 (11:36 +0100)
commit86ffe920e669ec73035e84553e18edf17d16317c
tree1f9f3de8f861d82c4f58489bf7932186baff4df1
parent49edd6a2c456150870ddcef5b7ed11b21d849e13
net: phy: dp83867: Set FORCE_LINK_GOOD to default after reset

According to the Datasheet this bit should be 0 (Normal operation) in
default. With the FORCE_LINK_GOOD bit set, it is not possible to get a
link. This patch sets FORCE_LINK_GOOD to the default value after
resetting the phy.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/dp83867.c