[PATCH net 0/2] net: usb: smsc95xx: propagate MDIO errors

From
Artem Novak <hidden>
Date
2026-11-14 05:09:58
Also in
linux-usb
This series fixes error handling in the SMSC95xx MDIO operations.

The MDIO bus reset callback currently reports success even when accessing
the PHY reset control register fails. The MDIO write helper also
discards register access errors, causing the MDIO bus callback
to report success when a write fails.

The patches address these two issues:

Return register access errors from the external PHY reset callback.

&

Propagate MDIO write errors through the MDIO bus callback,
while preserving the existing handling of -ENODEV during disconnect.

Both changes improve error reporting to the MDIO/PHYLIB layer.

Artem Novak (2):
  net: usb: smsc95xx: propagate MDIO reset errors
  net: usb: smsc95xx: propagate MDIO write errors

 drivers/net/usb/smsc95xx.c | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

-- 
2.56.0
Thread (11 messages) 11 messages, 4 authors, last reply 1d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help