diff options
| author | Siddartha Mohanadoss <smohanad@codeaurora.org> | 2017-01-04 18:25:54 -0800 |
|---|---|---|
| committer | Siddartha Mohanadoss <smohanad@codeaurora.org> | 2017-01-06 16:04:55 -0800 |
| commit | c5fd9dbe9d42b1f51f153ae410f086b79ece5e09 (patch) | |
| tree | 04a3399b80656e088727768b40519130e96f9014 /kernel/trace/trace_functions_graph.c | |
| parent | 2116b44bd37e0245ac3442be3dd094397ce017c9 (diff) | |
thermal: tsens: Switch from usleep_range() to msleep
On certain cases we have seen usleep_range() return before
the intended minimum time parameter passed to this function.
There is no protection against wakeups and we may return
early. msleep() already has code to handle this cases since
it loops as long as there is still time.
Change-Id: I3cf1e2d7f61f5a6d42d66afb86ae3b3fe141a9e7
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions
