Skip to content
Commit 0ed9704b authored by Baruch Siach's avatar Baruch Siach Committed by Paolo Abeni
Browse files

net: phy: marvell10g: fix return value on error



Return back the error value that we get from phy_read_mmd().

Fixes: c84786fa ("net: phy: marvell10g: read copper results from CSSR1")
Signed-off-by: default avatarBaruch Siach <baruch.siach@siklu.com>
Reviewed-by: default avatarMarek Behún <kabel@kernel.org>
Reviewed-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/f47cb031aeae873bb008ba35001607304a171a20.1650868058.git.baruch@tkos.co.il


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent acac0541
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment