linux-stable/drivers/tty/serial
Erwan Le Ray 25a8e7611d serial: stm32: fix TX and RX FIFO thresholds
TX and RX FIFO thresholds may be cleared after suspend/resume, depending
on the low power mode.

Those configurations (done in startup) are not effective for UART console,
as:
- the reference manual indicates that FIFOEN bit can only be written when
  the USART is disabled (UE=0)
- a set_termios (where UE is set) is requested firstly for console
  enabling, before the startup.

Fixes: 84872dc448 ("serial: stm32: add RX and TX FIFO flush")
Signed-off-by: Erwan Le Ray <erwan.leray@foss.st.com>
Link: https://lore.kernel.org/r/20210304162308.8984-5-erwan.leray@foss.st.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-10 09:34:10 +01:00
..
8250 serial: 8250_exar: Constify the software nodes 2021-03-10 09:34:10 +01:00
cpm_uart tty: cpm_uart, use port->flags instead of low_latency 2021-01-07 16:17:31 +01:00
jsm tty: jsm_tty, make char+error handling readable 2021-03-10 09:34:07 +01:00
21285.c
altera_jtaguart.c
altera_uart.c
amba-pl010.c amba: Make the remove callback return void 2021-02-02 14:25:50 +01:00
amba-pl011.c amba: Make the remove callback return void 2021-02-02 14:25:50 +01:00
amba-pl011.h
apbuart.c
apbuart.h
ar933x_uart.c serial: ar933x_uart: disable clk on error handling path in probe 2020-11-12 09:41:07 +01:00
arc_uart.c
atmel_serial.c
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 earlycon: simplify earlycon-table implementation 2020-12-04 15:49:48 +01:00
fsl_linflexuart.c tty: serial: linflexuart: Remove unnecessary '|' operation and add error count 2020-11-06 17:12:30 +01:00
fsl_lpuart.c serial: fsl_lpuart: Use of_device_get_match_data() 2021-01-20 18:48:15 +01:00
icom.c tty: serial: icom: Use DEFINE_SPINLOCK() for spinlock 2020-12-28 16:14:01 +01:00
icom.h
imx.c tty: imx, use ms_to_ktime 2021-03-10 09:34:06 +01:00
imx_earlycon.c
ip22zilog.c
ip22zilog.h
Kconfig tty: serial: samsung_tty: Add support for Apple UARTs 2021-03-10 09:34:10 +01:00
kgdb_nmi.c tty: do not check tty_unregister_driver's return value 2021-03-10 09:34:09 +01:00
kgdboc.c
lantiq.c tty/serial/lantiq: convert comma to semicolon 2020-12-28 16:10:50 +01:00
liteuart.c serial: liteuart: fix return value check in liteuart_probe() 2021-03-10 09:34:10 +01:00
lpc32xx_hs.c
Makefile serial: ifx6x60: Remove driver for deprecated platform 2021-01-26 19:21:49 +01:00
max310x.c
max3100.c tty_port: drop last traces of low_latency 2021-01-07 16:17:32 +01:00
mcf.c
men_z135_uart.c
meson_uart.c tty: serial: meson: enable console as module 2020-12-11 17:14:22 +01:00
milbeaut_usio.c
mpc52xx_uart.c
mps2-uart.c
msm_serial.c tty: serial: msm_serial: Constify msm_uart_pops 2020-11-06 17:16:36 +01:00
mux.c
mvebu-uart.c serial: mvebu-uart: fix tx lost characters at power off 2020-12-28 16:17:34 +01:00
mxs-auart.c serial: mxs-auart: Remove <asm/cacheflush.h> 2021-01-20 18:48:19 +01:00
omap-serial.c
owl-uart.c tty: serial: owl: Add support for kernel debugger 2021-01-13 17:16:54 +01:00
pch_uart.c tty: serial: pch_uart.c: remove debugfs dentry pointer 2021-03-10 09:34:05 +01:00
pic32_uart.c
pic32_uart.h
pmac_zilog.c m68k: Fix WARNING splat in pmac_zilog driver 2020-11-23 11:31:00 +01:00
pmac_zilog.h tty: serial: pmac_zilog: Remove unused disposable variable 'garbage' 2020-11-13 15:28:27 +01:00
pxa.c
qcom_geni_serial.c
rda-uart.c
rp2.c
sa1100.c
samsung_tty.c tty: serial: samsung_tty: Add earlycon support for Apple UARTs 2021-03-10 09:34:10 +01:00
sb1250-duart.c
sc16is7xx.c
sccnxp.c
serial-tegra.c tty: serial: serial-tegra: Provide some missing struct member descriptions 2020-11-06 10:54:05 +01:00
serial_core.c serial: core: Remove BUG_ON(in_interrupt()) check 2021-02-09 11:45:04 +01:00
serial_mctrl_gpio.c serial: mctrl_gpio: Fix passing zero to 'ERR_PTR' warning 2020-11-06 17:12:05 +01:00
serial_mctrl_gpio.h
serial_txx9.c serial: txx9: add missing platform_driver_unregister() on error in serial_txx9_init 2020-11-06 17:24:41 +01:00
sh-sci.c
sh-sci.h
sifive.c riscv: Fix sifive serial driver 2021-01-07 18:02:13 -08:00
sprd_serial.c
st-asc.c
stm32-usart.c serial: stm32: fix TX and RX FIFO thresholds 2021-03-10 09:34:10 +01:00
stm32-usart.h serial: stm32: Use of_device_get_match_data() 2021-01-26 12:17:32 -06:00
suncore.c
sunhv.c
sunsab.c
sunsab.h
sunsu.c
sunzilog.c
sunzilog.h
tegra-tcu.c
timbuart.c
timbuart.h
uartlite.c tty: serial: uartlite: Support probe deferral 2020-12-04 16:51:40 +01:00
ucc_uart.c
vr41xx_siu.c
vt8500_serial.c
xilinx_uartps.c tty: serial: xilinx_uartps: Supply description for missing member 'cts_override' 2020-11-06 10:54:05 +01:00
zs.c
zs.h