Thread (49 messages) flat view 49 messages, 7 authors, 2020-06-24

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

From: Andrew Lunn <andrew@lunn.ch>
Date: 2020-06-22 13:21:00
Also in: linux-devicetree, lkml

On Mon, Jun 22, 2020 at 11:37:35AM +0200, Bartosz Golaszewski wrote:
From: Bartosz Golaszewski <redacted>

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 <redacted>
I would be surprised if there is any MDIO driver which don't have a
probe callback.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help