commit | 45d0da498ef3e534e46e76ab3a607b979b0e8e30 | [log] [tgz] |
---|---|---|
author | Dejin Zheng <zhengdejin5@gmail.com> | Mon Mar 16 10:32:54 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 16 02:10:09 2020 -0700 |
tree | 3773c49feeb776d3840b217b0ee315586d801d4f | |
parent | ff8ed737860e9b5b898ab6d2ff05e2c6021c21b0 [diff] |
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: Dejin Zheng <zhengdejin5@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>