Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753669AbbK3Ldb (ORCPT ); Mon, 30 Nov 2015 06:33:31 -0500 Received: from mail.karo-electronics.de ([81.173.242.67]:60621 "EHLO mail.karo-electronics.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752231AbbK3Lda (ORCPT ); Mon, 30 Nov 2015 06:33:30 -0500 From: =?UTF-8?q?Lothar=20Wa=C3=9Fmann?= To: Andrew Lunn , "David S. Miller" , Fabio Estevam , Greg Ungerer , Kevin Hao , =?UTF-8?q?Lothar=20Wa=C3=9Fmann?= , Lucas Stach , Nimrod Andy , Philippe Reynes , Richard Cochran , Russell King , Sascha Hauer , Stefan Agner , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Jeff Kirsher , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Subject: [PATCH 0/3] net: fec: Reset ethernet PHY whenever the enet_out clock Date: Mon, 30 Nov 2015 12:32:45 +0100 Message-Id: <1448883168-30742-1-git-send-email-LW@KARO-electronics.de> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 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: 747 Lines: 16 This patchset fixes a regression introduced by commit 8fff755e9f8d ("net: fec: Ensure clocks are enabled while using mdio bus") for ethernet PHYs that are using ENET_OUT as reference clock (on i.MX6 or i.MX28) The first patch is a cleanup patch that removes redundant NULL checks. The second patch converts the driver to use the 'gpiod' framework. The third patch makes sure, fec_reset_phy() is called whenever the enet_out clock has been (re-)enabled to get the PHY into a consistent state. -- 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/