Re: [PATCH V5 5/7] i2c: tegra: fix msleep warning

2019-06-12 Thread Wolfram Sang
On Tue, Jun 11, 2019 at 03:51:12AM -0700, Bitan Biswas wrote: > 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 > +

[PATCH V5 5/7] i2c: tegra: fix msleep warning

2019-06-11 Thread Bitan Biswas
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 Reviewed-by: Dmitry Os