Skip to content
Commit 45d0da49 authored by Dejin Zheng's avatar Dejin Zheng Committed by David S. Miller
Browse files

net: stmmac: use readl_poll_timeout() function in dwmac4_dma_reset()



The dwmac4_dma_reset() function use an open coded of readl_poll_timeout().
Replace the open coded handling with the proper function.

Signed-off-by: default avatarDejin Zheng <zhengdejin5@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ff8ed737
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