xgene_xfi_mdio_read() prints "write failed" when the MDIO management
interface remains busy and the read times out. Update the message to
"read failed" to match the operation.
Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/20260304195755.2468204-1-alok.a.tiwari@oracle.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
} while ((status & BUSY_MASK) && timeout--);
if (status & BUSY_MASK) {
- pr_err("XGENET_MII_MGMT write failed\n");
+ pr_err("XGENET_MII_MGMT read failed\n");
return -EBUSY;
}