Thread (17 messages) flat view 17 messages, 4 authors, 3h ago

Re: [PATCH net v3 3/5] net: phy: set PHY_READY after LED setup

From: Andrew Lunn <andrew@lunn.ch>
Date: 2026-08-19 13:37:31
Also in: lkml

On Wed, Aug 19, 2026 at 02:02:34PM +0800, Xuanqiang Luo wrote:
From: Xuanqiang Luo <redacted>

phy_probe() sets PHY_READY before calling of_phy_leds(). If LED setup
fails, the error path releases the initialized resources while the PHY
state remains READY even though probing failed.

Set PHY_READY only after LED setup succeeds.

Fixes: 01e5b728e9e4 ("net: phy: Add a binding for PHY LEDs")
Signed-off-by: Xuanqiang Luo <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