Linux USB
 help / color / mirror / Atom feed
* [PATCH net 0/2] net: usb: smsc95xx: propagate MDIO errors
@ 2026-11-14  5:09 Artem Novak
  2026-11-14  5:09 ` [PATCH net 1/2] net: usb: smsc95xx: propagate MDIO reset errors Artem Novak
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Artem Novak @ 2026-11-14  5:09 UTC (permalink / raw)
  To: Steve Glendinning, UNGLinuxDriver
  Cc: Andrew Lunn, David S . Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Alexandru Tachici, Andre Edich, netdev, linux-usb,
	Artem Novak

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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2026-11-15  5:21 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-14  5:09 [PATCH net 0/2] net: usb: smsc95xx: propagate MDIO errors Artem Novak
2026-11-14  5:09 ` [PATCH net 1/2] net: usb: smsc95xx: propagate MDIO reset errors Artem Novak
2026-11-14 22:08   ` Andrew Lunn
2026-11-14 22:12     ` Artem Novak
2026-11-15  5:10   ` sashiko-bot
2026-11-15  5:21   ` netdev-bot+sashiko
2026-11-14  5:09 ` [PATCH net 2/2] net: usb: smsc95xx: propagate MDIO write errors Artem Novak
2026-11-14 22:10   ` Andrew Lunn
2026-11-14 22:13     ` Artem Novak
2026-11-15  5:10   ` sashiko-bot
2026-11-15  5:21   ` netdev-bot+sashiko
2026-11-14  5:12 ` [PATCH net 0/2] net: usb: smsc95xx: propagate MDIO errors netdev-bot+sinfo
2026-11-14  5:18   ` Artem Novak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox