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

2018-02-07 Thread Heiner Kallweit
Am 08.02.2018 um 00:00 schrieb Florian Fainelli: > On 02/07/2018 11:44 AM, 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 s

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

2018-02-07 Thread Florian Fainelli
On 02/07/2018 11:44 AM, 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. > > Signed-off-by: Heiner Kallweit > ---

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

2018-02-07 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. Signed-off-by: Heiner Kallweit --- v2: - use phy_interrupt_is_valid() instead of checking for