diff options
author | Bitan Biswas <bbiswas@nvidia.com> | 2019-06-11 12:51:12 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2019-06-12 12:20:36 +0200 |
commit | fbbe4941f0dd36b5d39a4a1796aca8ce1f8efdf5 (patch) | |
tree | 38901cd061207e4bd70e9d796323a8e5e91b6d37 /drivers/i2c/busses/i2c-bcm2835.c | |
parent | i2c: tegra: add spinlock definition comment (diff) | |
download | linux-fbbe4941f0dd36b5d39a4a1796aca8ce1f8efdf5.tar.xz linux-fbbe4941f0dd36b5d39a4a1796aca8ce1f8efdf5.zip |
i2c: tegra: fix msleep warning
Fix checkpatch.pl WARNING for delay of approximately 1msec
in flush i2c FIFO polling loop by using usleep_range(1000, 2000):
WARNING: msleep < 20ms can sleep for up to 20ms; see ...
Documentation/timers/timers-howto.txt
+ msleep(1);
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-bcm2835.c')
0 files changed, 0 insertions, 0 deletions