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