alistair23-linux/drivers/tty
Ed Blake de9e33bdfa serial: 8250_dw: Improve clock rate setting
Currently dw8250_set_termios sets the input clock to the nearest
achievable rate to baudx16.  If necessary, the input clock is then
divided down to baudx16 using an integer divider within the UART
device, with the divisor calculated in the 8250 core driver.

However, the clock rate set by dw8250_set_termios and subsequently
divided down could be considerably different to the target baudx16
rate, resulting in incorrect operation.  This patch fixes this by
iteratively searching for an input clock rate that is within +/-1.6%
of an integer multiple of the target baudx16 rate.

Signed-off-by: Ed Blake <ed.blake@sondrel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-10-04 10:17:27 +02:00
..
hvc powerpc updates for 4.14 2017-09-07 10:15:40 -07:00
ipwireless
serdev tty: Convert to using %pOF instead of full_name 2017-07-30 07:35:28 -07:00
serial serial: 8250_dw: Improve clock rate setting 2017-10-04 10:17:27 +02:00
vt vt: Use bsearch library function in is_double_width 2017-09-18 18:31:48 +02:00
amiserial.c
bfin_jtag_comm.c
cyclades.c
ehv_bytechan.c tty: Convert to using %pOF instead of full_name 2017-07-30 07:35:28 -07:00
goldfish.c tty: goldfish: Implement support for kernel 'earlycon' parameter 2017-08-31 18:58:45 +02:00
isicom.c tty: isicom: constify pci_device_id. 2017-07-30 07:35:27 -07:00
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-next 2017-09-10 09:57:23 -07:00
Makefile sparc64: vcc: Enable VCC module in linux 2017-08-15 21:33:50 -07:00
metag_da.c
mips_ejtag_fdc.c tty: mips_ejtag_fdc: constify mips_cdmm_device_id 2017-08-28 20:51:22 +02:00
moxa.c tty: moxa: constify pci_device_id. 2017-07-30 07:35:28 -07:00
moxa.h
mxser.c mxser: remove unused parameters 2017-10-04 10:15:47 +02:00
mxser.h
n_gsm.c drivers: tty: n_gsm: use setup_timer() helper. 2017-10-03 20:28:36 +02:00
n_hdlc.c
n_null.c
n_r3964.c
n_tracerouter.c
n_tracesink.c
n_tracesink.h
n_tty.c
nozomi.c
pty.c TTY/Serial updates for 4.14-rc1 2017-09-05 10:30:48 -07:00
rocket.c
rocket.h
rocket_int.h
synclink.c tty: synclink: Reuse an existing error handling path 2017-09-18 18:31:48 +02:00
synclink_gt.c tty: synclink_gt: constify pci_device_id. 2017-07-30 07:35:28 -07:00
synclinkmp.c tty: synclinkmp: constify pci_device_id. 2017-07-30 07:35:27 -07:00
sysrq.c
tty_audit.c
tty_baudrate.c
tty_buffer.c tty: fix __tty_insert_flip_char regression 2017-08-02 06:58:17 -07:00
tty_io.c Staging/IIO driver updates for 4.14-rc1 2017-09-05 10:36:26 -07:00
tty_ioctl.c
tty_jobctrl.c
tty_ldisc.c
tty_ldsem.c
tty_mutex.c
tty_port.c ttyport: trivial fix for some typo in comments 2017-09-18 18:31:48 +02:00
vcc.c drivers: tty: vcc: use setup_timer() helper. 2017-10-03 20:28:36 +02:00