diff options
| author | Yoshihiro Shimoda <[email protected]> | 2019-01-17 16:24:15 +0900 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2019-01-28 12:51:29 +0200 |
| commit | 1c1a3ddae9782ba748f5ceb775ed13ef554e8994 (patch) | |
| tree | 541db954780f7e224dc1c728453199cda7a9c6db /tools/perf/scripts/python/sctop.py | |
| parent | 54c9da1bcec44d234a2c6f55c2935d0980a50286 (diff) | |
usb: renesas_usbhs: replace udelay() with usleep_range()
According to Documentation/timers/timers-howto.txt, a driver should
use usleep_range() instead of udelay() on NON-ATOMIC CONTEXT if
"SLEEPING FOR ~USECS OR SMALL MSECS ( 10us - 20ms)".
Since the .hardware_init() and .power_ctrl() will run on NON-ATOMIC
CONTEXT, this patch replaces udelay() with usleep_range().
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: Yoshihiro Shimoda <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions