From: Florian Fainelli Subject: Re: [PATCH net v3] net: phy: fix phy_start to consider PHY_IGNORE_INTERRUPT Date: Thu, 8 Feb 2018 12:02:46 -0800 Message-ID: <69fdc527-f90f-1b28-7d2a-0d7b7f04b716@gmail.com> References: <9a965e5e-50a4-ed2e-51ce-eb30c11c3cdf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: "netdev@vger.kernel.org" To: Heiner Kallweit , Andrew Lunn , David Miller Return-path: Received: from mail-qt0-f176.google.com ([209.85.216.176]:43914 "EHLO mail-qt0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752375AbeBHUCz (ORCPT ); Thu, 8 Feb 2018 15:02:55 -0500 Received: by mail-qt0-f176.google.com with SMTP id m11so7769702qtn.10 for ; Thu, 08 Feb 2018 12:02:55 -0800 (PST) In-Reply-To: <9a965e5e-50a4-ed2e-51ce-eb30c11c3cdf@gmail.com> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: 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: fix interrupts re-enablement in phy_start") > Signed-off-by: Heiner Kallweit Reviewed-by: Florian Fainelli Thanks Heiner! -- Florian