Re: [PATCH] net: macb: ignore tx_clk if MII is used

From: Andrew Lunn
Date: Wed Jan 20 2021 - 15:35:05 EST


On Wed, Jan 20, 2021 at 08:43:03PM +0100, Michael Walle wrote:
> If the MII interface is used, the PHY is the clock master, thus don't
> set the clock rate. On Zynq-7000, this will prevent the following
> warning:
> macb e000b000.ethernet eth0: unable to generate target frequency: 25000000 Hz
>
> Signed-off-by: Michael Walle <michael@xxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew