From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net v3] net: phy: fix phy_start to consider PHY_IGNORE_INTERRUPT Date: Thu, 08 Feb 2018 15:36:19 -0500 (EST) Message-ID: <20180208.153619.106397254640116562.davem@davemloft.net> References: <9a965e5e-50a4-ed2e-51ce-eb30c11c3cdf@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: andrew@lunn.ch, f.fainelli@gmail.com, netdev@vger.kernel.org To: hkallweit1@gmail.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:49266 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751848AbeBHUgU (ORCPT ); Thu, 8 Feb 2018 15:36:20 -0500 In-Reply-To: <9a965e5e-50a4-ed2e-51ce-eb30c11c3cdf@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: 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 ("net: phylib: fix interrupts re-enablement in phy_start") > Signed-off-by: Heiner Kallweit Applied and queued up for -stable, thank you.