On Mon, Nov 30, 2026 at 02:55:15AM +0200, Cristian Ciocaltea wrote:
> aeon_ipc_send_msg() ignores the return value of phy_write_mmd() when > filling the IPC data registers. On an MDIO failure the command is still > issued, and the firmware acts on stale or partial data left in the > registers. > > Check the result of each write and abort the transfer on error, > propagating the error code to the caller. > > Fixes: 830877d89edc ("net: phy: Add support for Aeonsemi AS21xxx PHYs") > Signed-off-by: Cristian Ciocaltea <cris…@collabora.com>
MDIO transactions pretty much never fail, so this is theoretical. net-next please. Reviewed-by: Andrew Lunn <andr…@lunn.ch> Andrew