Re: [PATCH net] net: phy: mscc: fix Serdes configuration in vsc8584_config_init

From: David Miller
Date: Fri Jun 05 2020 - 16:16:37 EST


From: Antoine Tenart <antoine.tenart@xxxxxxxxxxx>
Date: Fri, 5 Jun 2020 16:00:09 +0200

> When converting the MSCC PHY driver to shared PHY packages, the Serdes
> configuration in vsc8584_config_init was modified to use 'base_addr'
> instead of 'base' as the port number. But 'base_addr' isn't equal to
> 'addr' for all PHYs inside the package, which leads to the Serdes still
> being enabled on those ports. This patch fixes it.
>
> Fixes: deb04e9c0ff2 ("net: phy: mscc: use phy_package_shared")
> Signed-off-by: Antoine Tenart <antoine.tenart@xxxxxxxxxxx>

Applied, thank you.