Re: [PATCH net-next] net: stmmac: Fix wrapper drivers not detecting PHY

From: Corentin Labbe
Date: Fri Jun 14 2019 - 13:28:14 EST


On Fri, Jun 14, 2019 at 05:06:57PM +0200, Jose Abreu wrote:
> Because of PHYLINK conversion we stopped parsing the phy-handle property
> from DT. Unfortunatelly, some wrapper drivers still rely on this phy
> node to configure the PHY.
>
> Let's restore the parsing of PHY handle while these wrapper drivers are
> not fully converted to PHYLINK.
>
> Reported-by: Corentin Labbe <clabbe.montjoie@xxxxxxxxx>
> Fixes: 74371272f97f ("net: stmmac: Convert to phylink and remove phylib logic")
> Signed-off-by: Jose Abreu <joabreu@xxxxxxxxxxxx>
> Cc: Joao Pinto <jpinto@xxxxxxxxxxxx>
> Cc: David S. Miller <davem@xxxxxxxxxxxxx>
> Cc: Giuseppe Cavallaro <peppe.cavallaro@xxxxxx>
> Cc: Alexandre Torgue <alexandre.torgue@xxxxxx>

Thanks for the quick fix

Tested-by: Corentin Labbe <clabbe.montjoie@xxxxxxxxx>