diff options
author | Masaharu Hayakawa <masaharu.hayakawa.ry@renesas.com> | 2017-11-03 12:36:28 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-11-07 15:42:53 +0300 |
commit | 1f27ddf0b50b45eaf0f95565125cf10f9c821746 (patch) | |
tree | 460b1ce27843012f6f6f785da84f357ad967ba5d /crypto/memneq.c | |
parent | 379777297cb130b8b23f82b34ea889c31e828a8c (diff) | |
download | linux-1f27ddf0b50b45eaf0f95565125cf10f9c821746.tar.xz |
mmc: tmio: Replace msleep() of 20ms or less with usleep_range()
As documented in Documentation/timers/timers-howto.txt
as follows, replace msleep() with usleep_range().
msleep(1~20) may not do what the caller intends, and
will often sleep longer (~20 ms actual sleep for any
value given in the 1~20ms range). In many cases this
is not the desired behavior.
Signed-off-by: Masaharu Hayakawa <masaharu.hayakawa.ry@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'crypto/memneq.c')
0 files changed, 0 insertions, 0 deletions