commit | 9e0db41e7a0b6f1271cbcfb16dbf5b8641b4e440 | [log] [tgz] |
---|---|---|
author | Jisheng Zhang <jszhang@kernel.org> | Thu Jan 27 00:52:15 2022 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 27 13:51:10 2022 +0000 |
tree | a896022c1509ba5ff50dc0595547f7eb49f85aa7 | |
parent | dcb2c5c6ca9b9177f04abaf76e5a983d177c9414 [diff] |
net: stmmac: dwmac-sun8i: use return val of readl_poll_timeout() When readl_poll_timeout() timeout, we'd better directly use its return value. Before this patch: [ 2.145528] dwmac-sun8i: probe of 4500000.ethernet failed with error -14 After this patch: [ 2.138520] dwmac-sun8i: probe of 4500000.ethernet failed with error -110 Signed-off-by: Jisheng Zhang <jszhang@kernel.org> Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>