commit | 3f72879e005ecec835ec75f7d8455c04b29de045 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Mon Aug 05 17:25:35 2019 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Sep 04 12:43:51 2019 +0200 |
tree | aa767e7b1329a4822f2cb105c4d68409c5d5f914 | |
parent | 653d00c8d0f14b5aec8804b8ab107d5ac70b4a12 [diff] |
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>