aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/hyperv/hyperv_net.h
diff options
context:
space:
mode:
authorSekhar Nori <[email protected]>2018-05-09 15:45:15 +0000
committerDavid S. Miller <[email protected]>2018-05-10 20:18:59 +0000
commit54472edff0afa09e35828b2b81b00695a9da1c17 (patch)
treedb4fdaf085508718242139a458c75d790cbb15c6 /drivers/net/hyperv/hyperv_net.h
parentMerge branch 'dsa-mv88e6xxx-cleanup-Global-Control-2-register' (diff)
downloadkernel-54472edff0afa09e35828b2b81b00695a9da1c17.tar.gz
kernel-54472edff0afa09e35828b2b81b00695a9da1c17.zip
drivers: net: davinci_mdio: prevent spurious timeout
A well timed kernel preemption in the time_after() loop in wait_for_idle() can result in a spurious timeout error to be returned. Fix it by using readl_poll_timeout() which takes care of this issue. Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: Sekhar Nori <[email protected]> Reviewed-by: Grygorii Strashko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
0 files changed, 0 insertions, 0 deletions