Searched hist:"3 f72879e005ecec835ec75f7d8455c04b29de045" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/tty/serial/8250/ |
H A D | 8250_exar.c | diff 3f72879e005ecec835ec75f7d8455c04b29de045 Mon Aug 05 16:25:35 CEST 2019 Andy Shevchenko <andriy.shevchenko@linux.intel.com> serial: 8250_exar: Replace msleep(1) with usleep_range()
As explained in Documentation/timers/timers-howto.rst the small amount of milliseconds sometimes produces much longer delays.
Replace msleep(1) with usleep_range(1000, 1100).
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20190805142535.21948-2-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|