summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorIlya Lipnitskiy <ilya.lipnitskiy@gmail.com>2021-04-22 22:21:08 -0700
committerDavid S. Miller <davem@davemloft.net>2021-04-23 13:31:58 -0700
commit3bc8e0aff23be0526af0dbc7973a8866a08d73f1 (patch)
tree35ee08136d077d6a8dad553652f3f2e1355f2131 /kernel
parentfa817272c37ef78e25dc14e4760ac78a7043a18a (diff)
downloadlinux-stable-3bc8e0aff23be0526af0dbc7973a8866a08d73f1.tar.gz
linux-stable-3bc8e0aff23be0526af0dbc7973a8866a08d73f1.tar.bz2
linux-stable-3bc8e0aff23be0526af0dbc7973a8866a08d73f1.zip
net: ethernet: mtk_eth_soc: use iopoll.h macro for DMA init
Replace a tight busy-wait loop without a pause with a standard readx_poll_timeout_atomic routine with a 5 us poll period. Tested by booting a MT7621 device to ensure the driver initializes properly. Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions