diff options
| author | Sekhar Nori <nsekhar@ti.com> | 2018-05-09 18:45:15 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-05-10 23:18:59 +0300 |
| commit | 54472edff0afa09e35828b2b81b00695a9da1c17 (patch) | |
| tree | db4fdaf085508718242139a458c75d790cbb15c6 /tools/perf/scripts/python | |
| parent | bfe1e616b3cdf1176a8f18ca26606ff00785a8de (diff) | |
| download | linux-54472edff0afa09e35828b2b81b00695a9da1c17.tar.xz | |
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 <andrew@lunn.ch>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
