> -Original Message-
> From: Florian Fainelli [mailto:f.faine...@gmail.com]
> Sent: Wednesday, May 11, 2016 2:25 AM
> To: shh@gmail.com; netdev@vger.kernel.org; da...@davemloft.net
> Cc: Shaohui Xie ; Andrew Lunn
> Subject: Re: [PATCH] net: phylib: fix interrupt
From:
Date: Tue, 10 May 2016 17:42:26 +0800
> From: Shaohui Xie
>
> If phy was suspended and is starting, current driver always enable
> phy's interrupts, if phy works in polling, phy can raise unexpected
> interrupt which will not be handled, the interrupt will block system
> enter suspend aga
On 05/10/2016 02:42 AM, shh@gmail.com wrote:
> From: Shaohui Xie
>
> If phy was suspended and is starting, current driver always enable
> phy's interrupts, if phy works in polling, phy can raise unexpected
> interrupt which will not be handled, the interrupt will block system
> enter suspend
From: Shaohui Xie
If phy was suspended and is starting, current driver always enable
phy's interrupts, if phy works in polling, phy can raise unexpected
interrupt which will not be handled, the interrupt will block system
enter suspend again. So interrupts should only be re-enabled if phy
works i