Re: [RFC PATCH net-next 4/8] net: dsa: mt7530: move XTAL check to mt7530_setup()

From: Vladimir Oltean
Date: Mon Jan 15 2024 - 16:20:36 EST


On Sat, Jan 13, 2024 at 01:25:25PM +0300, Arınç ÜNAL wrote:
> The crystal frequency concerns the switch core. The frequency should be
> checked when the switch is being set up so the driver can reject the
> unsupported hardware earlier and without requiring port 6 to be used.
>
> Move it to mt7530_setup(). Drop the unnecessary function printing.
>
> Signed-off-by: Arınç ÜNAL <arinc.unal@xxxxxxxxxx>
> Reviewed-by: Andrew Lunn <andrew@xxxxxxx>
> ---

Reviewed-by: Vladimir Oltean <olteanv@xxxxxxxxx>