Re: [PATCH net v2 1/2] net: stmmac: fix PHY handle parsing

Fabian Bläse
2023-03-14T10:03:39Z

On 14.03.23 08:02, Michael Sit Wei Hong wrote:
> phylink_fwnode_phy_connect returns 0 when set to MLO_AN_INBAND.
> This causes the PHY handle parsing to skip and the PHY will not be attached
> to the MAC.
>
> Add additional check for PHY handle parsing when set to MLO_AN_INBAND.
>
> Fixes: ab21cf920928 ("net: stmmac: make mdio register skips PHY scanning for fixed-link")
> Signed-off-by: Michael Sit Wei Hong <michael.wei.hong.sit@intel.com>
> Signed-off-by: Lai Peter Jun Ann <peter.jun.ann.lai@intel.com>

Tested-by: Fabian Bläse <fabian@blaese.de>