diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2020-07-14 11:30:12 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-21 21:08:11 +0200 |
commit | bd78ecd6056d9987067db5b100d3667da6b85467 (patch) | |
tree | a660ea314cc62b5c2ede82cab1bd153a9bb11cea /drivers/video/console | |
parent | cb1a609236096c278ecbfb7be678a693a70283f1 (diff) |
serial: imx: use hrtimers for rs485 delays
This patch imitates 6e0a5de213 ("serial: 8250: Use hrtimers for
rs485 delays") in replacing the previously used classic timers
with hrtimers. The old way provided a too coarse resolution on
systems with configs of less than 1000 HZ.
Use of hrtimers addresses this and can be easily extended to
support microsecond resolution in future when support
for this arrives upstream.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.kernel.org/r/20200714093012.21621-3-uwe@kleine-koenig.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/video/console')
0 files changed, 0 insertions, 0 deletions