[PATCH 06/15] net: phy: mdio: reset MDIO devices even if probe() is not implemented

Florian Fainelli f.fainelli at gmail.com
Tue Jun 23 15:16:10 EDT 2020


On 6/22/20 2:37 AM, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bgolaszewski at baylibre.com>
> 
> Similarily to PHY drivers - there's no reason to require probe() to be
> implemented in order to call mdio_device_reset(). MDIO devices can have
> resets defined without needing to do anything in probe().
> 
> Signed-off-by: Bartosz Golaszewski <bgolaszewski at baylibre.com>

Same comment as patch #5, I would prefer that we seek a solution that
allows MDIO drivers to manage multiple reset lines (would that exist) on
their own instead of this one size fits all approach. Thank you.
-- 
Florian



More information about the Linux-mediatek mailing list