On Thu, 02 May 2024 17:17:23 +0200, Ahmad Fatoum wrote: > phy_read may return an error code if the underlying transport > misbehaves, e.g. a busy and non-recoverable I2C bus. > > Instead of packing the error code value into the buffer, let's just > report 0xFFFF, which is the natural value used for unresponsive PHYs, > due to the pull-ups. > > [...] Applied, thanks! [1/1] mdio_bus: return 0xFFFF when read fails with error code https://git.pengutronix.de/cgit/barebox/commit/?id=ff36e78033e8 (link may not be stable) Best regards, -- Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>