linux_dsm_epyc7002/drivers/tty/serial
David Engraf cb47b9f863 tty/serial: atmel: fix out of range clock divider handling
Use MCK_DIV8 when the clock divider is > 65535. Unfortunately the mode
register was already written thus the clock selection is ignored.

Fix by doing the baud rate calulation before setting the mode.

Fixes: 5bf5635ac1 ("tty/serial: atmel: add fractional baud rate support")
Signed-off-by: David Engraf <david.engraf@sysgo.com>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Acked-by: Richard Genoud <richard.genoud@gmail.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20191216085403.17050-1-david.engraf@sysgo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-12-17 14:17:32 +01:00
..
8250 TTY/Serial patches for 5.5-rc1 2019-12-03 14:09:14 -08:00
cpm_uart
jsm
21285.c
altera_jtaguart.c
altera_uart.c
amba-pl010.c
amba-pl011.c serial: pl011: Fix DMA ->flush_buffer() 2019-11-18 12:47:06 +01:00
amba-pl011.h
apbuart.c
apbuart.h
ar933x_uart.c
arc_uart.c
atmel_serial.c tty/serial: atmel: fix out of range clock divider handling 2019-12-17 14:17:32 +01:00
atmel_serial.h
bcm63xx_uart.c
clps711x.c
digicolor-usart.c
dz.c
dz.h
earlycon-arm-semihost.c
earlycon-riscv-sbi.c
earlycon.c
efm32-uart.c
fsl_linflexuart.c serial: fsl_linflexuart: Be consistent with the name 2019-10-16 06:11:24 -07:00
fsl_lpuart.c tty: serial: fsl_lpuart: use the sg count from dma_map_sg 2019-11-05 18:18:01 +01:00
icom.c
icom.h
ifx6x60.c serial: ifx6x60: add missed pm_runtime_disable 2019-11-18 12:47:06 +01:00
ifx6x60.h
imx.c tty: serial: imx: use the sg count from dma_map_sg 2019-11-13 19:01:15 +08:00
ip22zilog.c
ip22zilog.h
Kconfig TTY/Serial patches for 5.5-rc1 2019-12-03 14:09:14 -08:00
kgdb_nmi.c
kgdboc.c
lantiq.c
lpc32xx_hs.c
Makefile {tty: serial, nand: onenand}: samsung: rename to fix build warning 2019-11-18 18:49:11 +01:00
max310x.c
max3100.c
mcf.c
men_z135_uart.c drivers: mcb: use symbol namespaces 2019-11-03 19:54:53 +01:00
meson_uart.c
milbeaut_usio.c
mpc52xx_uart.c
mps2-uart.c
msm_serial.c tty: serial: msm_serial: Fix lockup for sysrq and oops 2019-12-12 14:26:59 +01:00
mux.c
mvebu-uart.c
mxs-auart.c
omap-serial.c
owl-uart.c tty: serial: owl: Fix the link time qualifier of 'owl_uart_exit()' 2019-10-04 15:01:15 +02:00
pch_uart.c tty: serial: pch_uart: correct usage of dma_unmap_sg 2019-11-13 21:54:15 +08:00
pic32_uart.c
pic32_uart.h
pmac_zilog.c
pmac_zilog.h
pnx8xxx_uart.c
pxa.c
qcom_geni_serial.c tty: serial: qcom_geni_serial: Wakeup over UART RX 2019-10-10 14:29:44 +02:00
rda-uart.c tty: serial: rda: Fix the link time qualifier of 'rda_uart_exit()' 2019-10-04 15:01:15 +02:00
rp2.c
sa1100.c
samsung_tty.c {tty: serial, nand: onenand}: samsung: rename to fix build warning 2019-11-18 18:49:11 +01:00
samsung.h
sb1250-duart.c
sc16is7xx.c
sccnxp.c
serial_core.c tty: link tty and port before configuring it as console 2019-12-17 14:12:34 +01:00
serial_mctrl_gpio.c serial: mctrl_gpio: Check for NULL pointer 2019-10-07 13:21:54 +02:00
serial_mctrl_gpio.h
serial_txx9.c
serial-tegra.c tty: serial: tegra: Use dma_request_chan() directly for channel request 2019-11-13 21:54:16 +08:00
sh-sci.c Merge 5.4-rc5 into driver-core-next 2019-10-27 18:54:13 +01:00
sh-sci.h
sifive.c
sirfsoc_uart.c
sirfsoc_uart.h serial: sirf: make register info static 2019-10-10 14:29:44 +02:00
sprd_serial.c serial: sprd: Add clearing break interrupt operation 2019-12-12 14:26:59 +01:00
st-asc.c
stm32-usart.c serial: stm32: fix clearing interrupt error flags 2019-11-21 18:23:02 +01:00
stm32-usart.h
suncore.c
sunhv.c
sunsab.c
sunsab.h
sunsu.c
sunzilog.c
sunzilog.h
tegra-tcu.c
timbuart.c
timbuart.h
uartlite.c Revert "serial-uartlite: Move the uart register" 2019-11-14 06:29:08 +08:00
ucc_uart.c
vr41xx_siu.c
vt8500_serial.c
xilinx_uartps.c serial: uartps: Fix uartps_major handling 2019-10-04 15:14:20 +02:00
zs.c
zs.h