Re: [RFC Patch net-next 2/4] net: dsa: microchip: enable phy interrupts only if interrupt enabled in dts

From: Andrew Lunn
Date: Mon Sep 12 2022 - 17:30:10 EST

On Fri, Sep 09, 2022 at 09:31:18PM +0530, Arun Ramadoss wrote:
> In the lan937x_mdio_register function, phy interrupts are enabled
> irrespective of irq is enabled in the switch. Now, the check is added to
> enable the phy interrupt only if the irq is enabled in the switch.
> Signed-off-by: Arun Ramadoss <arun.ramadoss@xxxxxxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>