OSDN Git Service

Revert "net: phy: dp83867: perform soft reset and retain established link"
authorFrancesco Dolcini <francesco.dolcini@toradex.com>
Mon, 19 Jun 2023 15:44:35 +0000 (17:44 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 21 Jun 2023 03:20:22 +0000 (20:20 -0700)
commita129b41fe0a8b4da828c46b10f5244ca07a3fec3
tree04f1e306b99d390c3658f6126bf78f6c110e4bee
parent408c090002c8ca5da3da1417d1d675583379fae6
Revert "net: phy: dp83867: perform soft reset and retain established link"

This reverts commit da9ef50f545f86ffe6ff786174d26500c4db737a.

This fixes a regression in which the link would come up, but no
communication was possible.

The reverted commit was also removing a comment about
DP83867_PHYCR_FORCE_LINK_GOOD, this is not added back in this commits
since it seems that this is unrelated to the original code change.

Closes: https://lore.kernel.org/all/ZGuDJos8D7N0J6Z2@francesco-nb.int.toradex.com/
Fixes: da9ef50f545f ("net: phy: dp83867: perform soft reset and retain established link")
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Praneeth Bajjuri <praneeth@ti.com>
Link: https://lore.kernel.org/r/20230619154435.355485-1-francesco@dolcini.it
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/dp83867.c