Re: [PATCH net v3] net: phy: fix phy_start to consider PHY_IGNORE_INTERRUPT

2018-02-08 Thread David Miller
From: Heiner Kallweit Date: Thu, 8 Feb 2018 21:01:48 +0100 > This condition wasn't adjusted when PHY_IGNORE_INTERRUPT (-2) was added > long ago. In case of PHY_IGNORE_INTERRUPT the MAC interrupt indicates > also PHY state changes and we should do what the symbol says. > > Fixes: 84a527a41f38 ("n

Re: [PATCH net v3] net: phy: fix phy_start to consider PHY_IGNORE_INTERRUPT

2018-02-08 Thread Florian Fainelli
On 02/08/2018 12:01 PM, Heiner Kallweit wrote: > This condition wasn't adjusted when PHY_IGNORE_INTERRUPT (-2) was added > long ago. In case of PHY_IGNORE_INTERRUPT the MAC interrupt indicates > also PHY state changes and we should do what the symbol says. > > Fixes: 84a527a41f38 ("net: phylib: fi

[PATCH net v3] net: phy: fix phy_start to consider PHY_IGNORE_INTERRUPT

2018-02-08 Thread Heiner Kallweit
This condition wasn't adjusted when PHY_IGNORE_INTERRUPT (-2) was added long ago. In case of PHY_IGNORE_INTERRUPT the MAC interrupt indicates also PHY state changes and we should do what the symbol says. Fixes: 84a527a41f38 ("net: phylib: fix interrupts re-enablement in phy_start") Signed-off-by: