]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: phy: mediatek-ge-soc: Propagate error code correctly in cal_cycle()
authorSkyLake.Huang <skylake.huang@mediatek.com>
Thu, 17 Oct 2024 03:22:13 +0000 (11:22 +0800)
committerAndrew Lunn <andrew@lunn.ch>
Sun, 20 Oct 2024 16:06:47 +0000 (11:06 -0500)
commit93a610c00ffd8b9c7c108039d894ddd5193b147e
tree4c913d7df66e1b31eec2b04d4d3b465f873dfd5c
parentb0f90a863ca5030fd074426b2b5095ef93f2c5bf
net: phy: mediatek-ge-soc: Propagate error code correctly in cal_cycle()

This patch propagates error code correctly in cal_cycle()
and improve with FIELD_GET().

Signed-off-by: SkyLake.Huang <skylake.huang@mediatek.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
drivers/net/phy/mediatek-ge-soc.c