Re: [PATCH 5/6] net: phy: reset the PHY even if probe() is not implemented

2020-06-26 Thread Florian Fainelli
On 6/26/2020 8:53 AM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > 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

[PATCH 5/6] net: phy: reset the PHY even if probe() is not implemented

2020-06-26 Thread Bartosz Golaszewski
From: Bartosz Golaszewski 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