mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
Force the internal PHY off then on when switching to the internal path.
This fixes problems where the PHY ID is not properly set.
Fixes: 7090425104 ("net: phy: add amlogic g12a mdio mux support")
Suggested-by: Qi Duan <[email protected]>
Co-developed-by: Heiner Kallweit <[email protected]>
Signed-off-by: Heiner Kallweit <[email protected]>
Signed-off-by: Jerome Brunet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>