]> Gentwo Git Trees - linux/.git/commit
net: stmmac: qcom-ethqos: use read_poll_timeout_atomic()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Thu, 20 Nov 2025 11:25:27 +0000 (11:25 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 22 Nov 2025 02:13:44 +0000 (18:13 -0800)
commit9b60ba512c7f82739b705d94c41c38d4bf6b0235
tree90212c49a39d4fe7674c3025551aeccc52efbce6
parent819212185ae5460e63485ff42ef92a3d1b9ec0c7
net: stmmac: qcom-ethqos: use read_poll_timeout_atomic()

Use read_poll_timeout_atomic() to poll the rgmii registers rather than
open-coding the polling.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1vM2n1-0000000FRTu-0js9@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c