Driver's tx_empty callback should signal when the transmit shift register
is empty. So when the last character has been sent.
STAT_TX_FIFO_EMP bit signals only that HW transmit FIFO is empty, which
happens when the last byte is loaded into transmit shift register.
STAT_TX_EMP bit signals when the both HW transmit FIFO and transmit shift
register are empty.
So replace STAT_TX_FIFO_EMP check by STAT_TX_EMP in mvebu_uart_tx_empty()
callback function.
Fixes:
|
||
|---|---|---|
| .. | ||
| 8250 | ||
| cpm_uart | ||
| jsm | ||
| 21285.c | ||
| altera_jtaguart.c | ||
| altera_uart.c | ||
| amba-pl010.c | ||
| amba-pl011.c | ||
| amba-pl011.h | ||
| apbuart.c | ||
| apbuart.h | ||
| ar933x_uart.c | ||
| 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 | ||
| fsl_linflexuart.c | ||
| fsl_lpuart.c | ||
| icom.c | ||
| icom.h | ||
| imx.c | ||
| imx_earlycon.c | ||
| ip22zilog.c | ||
| ip22zilog.h | ||
| Kconfig | ||
| kgdb_nmi.c | ||
| kgdboc.c | ||
| lantiq.c | ||
| liteuart.c | ||
| lpc32xx_hs.c | ||
| Makefile | ||
| max310x.c | ||
| max3100.c | ||
| mcf.c | ||
| men_z135_uart.c | ||
| meson_uart.c | ||
| milbeaut_usio.c | ||
| mpc52xx_uart.c | ||
| mps2-uart.c | ||
| msm_serial.c | ||
| mux.c | ||
| mvebu-uart.c | ||
| mxs-auart.c | ||
| omap-serial.c | ||
| owl-uart.c | ||
| pch_uart.c | ||
| pic32_uart.c | ||
| pic32_uart.h | ||
| pmac_zilog.c | ||
| pmac_zilog.h | ||
| pxa.c | ||
| qcom_geni_serial.c | ||
| rda-uart.c | ||
| rp2.c | ||
| sa1100.c | ||
| samsung_tty.c | ||
| sb1250-duart.c | ||
| sc16is7xx.c | ||
| sccnxp.c | ||
| serial-tegra.c | ||
| serial_core.c | ||
| serial_mctrl_gpio.c | ||
| serial_mctrl_gpio.h | ||
| serial_txx9.c | ||
| sh-sci.c | ||
| sh-sci.h | ||
| sifive.c | ||
| sprd_serial.c | ||
| st-asc.c | ||
| stm32-usart.c | ||
| 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 | ||
| ucc_uart.c | ||
| vr41xx_siu.c | ||
| vt8500_serial.c | ||
| xilinx_uartps.c | ||
| zs.c | ||
| zs.h | ||