diff options
author | Geert Uytterhoeven <[email protected]> | 2020-01-15 13:54:17 +0100 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2020-01-27 11:41:08 +0100 |
commit | 263c8c4c76d9da63f1f8805ac5fc62a270448301 (patch) | |
tree | be79ab2721145e884ef496ab17ea3c4ceba3b7cb /scripts/bpf_helpers_doc.py | |
parent | 1a90e73248c4d0add6583bd88bb5e082c3e090bc (diff) |
thermal: rcar_thermal: Use usleep_range() instead of udelay()
rcar_thermal_update_temp() takes a mutex, so it is always called in a
context that can sleep. Hence replace the 300 µs busy loop by a call to
usleep_range(), to allow other threads to run.
Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions