]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 14 Feb 2020 06:00:53 +0000 (01:00 -0500)
commitc608d420108cfa61dcf0ff0a0b4c68642bc3eca1
tree4a4589a39a1839885153645364c1fbdf90cb67c3
parent39d592aa888b3cfe3bca86b524775e4d5b8c96fc
net: phy: dp83867: Set FORCE_LINK_GOOD to default after reset

BugLink: https://bugs.launchpad.net/bugs/1862429
[ Upstream commit 86ffe920e669ec73035e84553e18edf17d16317c ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/net/phy/dp83867.c