[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140816.201629.1009178063004110712.davem@davemloft.net>
Date: Sat, 16 Aug 2014 20:16:29 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: gwenhael.goavec-merou@...adeus.com
Cc: linux-kernel@...r.kernel.org, f.fainelli@...il.com,
netdev@...r.kernel.org
Subject: Re: [PATCH v2] net: phy: smsc: move smsc_phy_config_init reset
part in a soft_reset function
From: Gwenhael Goavec-Merou <gwenhael.goavec-merou@...adeus.com>
Date: Fri, 15 Aug 2014 15:00:38 +0200
> On the one hand, phy_device.c provides a generic reset function if the phy
> driver does not provide a soft_reset pointer. This generic reset does not take
> into account the state of the phy, with a potential failure if the phy is in
> powerdown mode. On the other hand, smsc driver provides a function with both
> correct reset behaviour and configuration.
>
> This patch moves the reset part into a new smsc_phy_reset function and provides
> the soft_reset pointer to have a correct reset behaviour by default.
>
> Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@...adeus.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists