Re: [PATCH net] net: phy: skip disabling interrupt when WOL is enabled in shutdown

From: Andrew Lunn
Date: Tue Jul 06 2021 - 09:14:41 EST


On Tue, Jul 06, 2021 at 05:02:09PM +0800, Ling Pei Lee wrote:
> From: Mohammad Athari Bin Ismail <mohammad.athari.ismail@xxxxxxxxx>
>
> PHY WOL requires WOL interrupt event to trigger the WOL signal
> in order to wake up the system. Hence, the PHY driver should not
> disable the interrupt during shutdown if PHY WOL is enabled.

If the device is being used to wake the system up, why is it being
shutdown?

Andrew