]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: phy: marvell: fix return code
authorMichael Walle <mwalle@kernel.org>
Mon, 6 Jul 2026 12:06:27 +0000 (14:06 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 21 Jul 2026 00:51:46 +0000 (17:51 -0700)
commit7d8ca62d6a9ef593780161586b4efc811ac094fe
tree114a43b73ca198b9dede6ac475973cae9c3fdb58
parente13caf1c26587434f0b768193100440939c0fb91
net: phy: marvell: fix return code

Return the correct error code, not the value written to the register.

Fixes: a219912e0fec ("net: phy: marvell: implement config_inband() method")
Signed-off-by: Michael Walle <mwalle@kernel.org>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/20260706120637.1947685-1-mwalle@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/marvell.c