Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753127AbcCRUMM (ORCPT ); Fri, 18 Mar 2016 16:12:12 -0400 Received: from metis.ext.4.pengutronix.de ([92.198.50.35]:34510 "EHLO metis.ext.4.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752772AbcCRUMI (ORCPT ); Fri, 18 Mar 2016 16:12:08 -0400 Date: Fri, 18 Mar 2016 21:11:53 +0100 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: Mason Cc: Sebastian Frias , Daniel Mack , "David S. Miller" , netdev@vger.kernel.org, lkml , Florian Fainelli , Mans Rullgard , Fabio Estevam , Martin Blumenstingl , Linus Walleij Subject: Re: [PATCH] net: phy: at803x: don't depend on GPIOLIB Message-ID: <20160318201153.GR4292@pengutronix.de> References: <56E99727.9040702@laposte.net> <20160318125455.GN4292@pengutronix.de> <56EC2525.8000706@laposte.net> <20160318191242.GQ4292@pengutronix.de> <56EC5788.3030509@free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <56EC5788.3030509@free.fr> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 902 Lines: 27 Hello, On Fri, Mar 18, 2016 at 08:31:20PM +0100, Mason wrote: > On 18/03/2016 20:12, Uwe Kleine-K?nig wrote: > > > On Fri, Mar 18, 2016 at 04:56:21PM +0100, Sebastian Frias wrote: > > > >> What would you think of making at803x_link_change_notify() print a > >> message every time it should do a reset but does not has a way to do it? > > > > Then this question is obsolete because the device doesn't probe. > > I don't understand this statement. > > What does it mean for a question to be obsolete? If the driver doesn't probe because it cannot control the reset line, you don't need to think about how it should behave in at803x_link_change_notify without control of the reset line, because this code isn't reached then. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |