diff options
author | Marek Vasut <[email protected]> | 2020-10-06 15:52:53 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-10-09 08:17:11 -0700 |
commit | 0da1ccbbefb662915228bc17e1c7d4ad28b3ddab (patch) | |
tree | 86ac4ca670c1aa1b239f12724b93200236eb1e26 /scripts/gdb/linux | |
parent | 3fdd47c3b40ac48e6e6e5904cf24d12e6e073a96 (diff) |
net: fec: Fix PHY init after phy_reset_after_clk_enable()
The phy_reset_after_clk_enable() does a PHY reset, which means the PHY
loses its register settings. The fec_enet_mii_probe() starts the PHY
and does the necessary calls to configure the PHY via PHY framework,
and loads the correct register settings into the PHY. Therefore,
fec_enet_mii_probe() should be called only after the PHY has been
reset, not before as it is now.
Fixes: 1b0a83ac04e3 ("net: fec: add phy_reset_after_clk_enable() support")
Reviewed-by: Andrew Lunn <[email protected]>
Tested-by: Richard Leitner <[email protected]>
Signed-off-by: Marek Vasut <[email protected]>
Cc: Christoph Niedermaier <[email protected]>
Cc: David S. Miller <[email protected]>
Cc: NXP Linux Team <[email protected]>
Cc: Shawn Guo <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions