Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753959AbbK3MRe (ORCPT ); Mon, 30 Nov 2015 07:17:34 -0500 Received: from mail-io0-f172.google.com ([209.85.223.172]:34214 "EHLO mail-io0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752182AbbK3MRd convert rfc822-to-8bit (ORCPT ); Mon, 30 Nov 2015 07:17:33 -0500 MIME-Version: 1.0 In-Reply-To: <1448883168-30742-3-git-send-email-LW@KARO-electronics.de> References: <1448883168-30742-1-git-send-email-LW@KARO-electronics.de> <1448883168-30742-2-git-send-email-LW@KARO-electronics.de> <1448883168-30742-3-git-send-email-LW@KARO-electronics.de> Date: Mon, 30 Nov 2015 10:17:32 -0200 Message-ID: Subject: Re: [PATCH 2/3] net: fec: convert to using gpiod framework From: Fabio Estevam To: =?UTF-8?Q?Lothar_Wa=C3=9Fmann?= Cc: Andrew Lunn , "David S. Miller" , Fabio Estevam , Greg Ungerer , Kevin Hao , Lucas Stach , Nimrod Andy , Philippe Reynes , Richard Cochran , Russell King , Sascha Hauer , Stefan Agner , linux-kernel , "netdev@vger.kernel.org" , Jeff Kirsher , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 892 Lines: 22 On Mon, Nov 30, 2015 at 9:32 AM, Lothar Waßmann wrote: > - gpio_set_value_cansleep(phy_reset, 1); > + gpiod_set_value_cansleep(phy_reset, 1); This will break some existing DTBs. Currently the fec driver does not care whether 'phy-reset-gpios' is active low or active high. (Yes, it was a mistake to assume in the driver that it is always active low.) After this change the polarity will be taken into account and may break some dtb's. I suggest you to send a single patch with the minimum changes to fix the regression caused by 8fff755e9f8d ("net: fec: Ensure clocks are enabled while using mdio bus"). -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/