Thread (33 messages) flat view 33 messages, 4 authors, 5d ago

Re: [PATCH net-next v15 04/13] net: phy: add phy_detach_internal() helper

From: Andrew Lunn <andrew@lunn.ch>
Date: 2026-09-02 00:09:40
Also in: linux-devicetree

On Mon, Aug 31, 2026 at 04:34:30PM +0200, Markus Stockhausen wrote:
For the upcoming MDIO bus notification enhancements the PHY detach path
needs to inform the bus about these actions. Until now phy_detach() is
used for the regular detach path as well as from the phy_attach_direct()
error paths So in the future there must be a clear indication if a
notification is needed (normal path) or not (cleanup path).

Carve out the phy_detach() code into a new helper phy_detach_internal()
and make phy_detach() a short stub that calls the new helper.

Signed-off-by: Markus Stockhausen <redacted>
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