serial: 8250: Use hrtimers for rs485 delays
authorRafael Gago <rafael.gago@gmail.com>
Mon, 31 Jul 2017 08:46:43 +0000 (10:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 18:51:20 +0000 (20:51 +0200)
commit6e0a5de2136b26bd0b3501f2f362abfffeb47d1e
tree7ee3baed1bbcf78c70c378a3cb909c1583a6041a
parenta6845e1e1b781933ed7f54919f5ea4a108d1b9f2
serial: 8250: Use hrtimers for rs485 delays

Previously the timers where based on the classic timers, giving a too
coarse resolution on systems with configs of less than 1000 HZ.

This patch changes the rs485 timers to hrtimers.

Signed-off-by: Rafael Gago Castano <rgc@hms.se>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_port.c
include/linux/serial_8250.h