On 6/26/2020 8:53 AM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski <bgolaszew...@baylibre.com> > > Currently we only call phy_device_reset() if the PHY driver implements > the probe() callback. This is not mandatory and many drivers (e.g. > realtek) don't need probe() for most devices but still can have reset > GPIOs defined. There's no reason to depend on the presence of probe() > here so pull the reset code out of the if clause. > > Signed-off-by: Bartosz Golaszewski <bgolaszew...@baylibre.com> > Reviewed-by: Andrew Lunn <and...@lunn.ch> OK we can always add support for letting PHY drivers manage their own reset line(s) during probe in a later changeset. Reviewed-by: Florian Fainelli <f.faine...@gmail.com> -- Florian
- [PATCH 0/6] net: phy: relax PHY and MDIO reset handlin... Bartosz Golaszewski
- [PATCH 1/6] net: phy: arrange headers in mdio_bus... Bartosz Golaszewski
- [PATCH 6/6] net: phy: mdio: reset MDIO devices ev... Bartosz Golaszewski
- Re: [PATCH 6/6] net: phy: mdio: reset MDIO de... Florian Fainelli
- [PATCH 2/6] net: phy: arrange headers in mdio_dev... Bartosz Golaszewski
- [PATCH 4/6] net: mdio: add a forward declaration ... Bartosz Golaszewski
- Re: [PATCH 4/6] net: mdio: add a forward decl... Florian Fainelli
- [PATCH 5/6] net: phy: reset the PHY even if probe... Bartosz Golaszewski
- Re: [PATCH 5/6] net: phy: reset the PHY even ... Florian Fainelli
- [PATCH 3/6] net: phy: arrange headers in phy_devi... Bartosz Golaszewski
- Re: [PATCH 0/6] net: phy: relax PHY and MDIO rese... David Miller