zephyr/drivers/serial
Paul Sokolovsky abf284e9fd Revert "serial: stm32: Give H/W a chance to set the TXE bit on transfer"
Don't busy-wait in uart_stm32_fifo_fill(), this routine is supposed
to be called on IRQ, and the waiting loop was shown to interfere
with interrupt-driven UART handling.

The original problem mentioned in the patch being reverted ("it is
possible to evaluate the TXE bit *before* H/W has had the
opportunity to detect that data is being processed") may still
exist and may require handling in a different way. The most obvious
way is to replace "while" loop with "if", because STM32 doesn't
have multi-level FIFO anyway. But I was dissuaded to include such a
change as part of this patch, so it's left for future analysis.

This reverts commit 49c2858d94.

Change-Id: Ib27b53ba3a29b84c1a2dccff6d33f4118680cc19
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2017-04-27 15:19:59 +00:00
..
Kconfig drivers: Add Atmel SAM serial (UART) driver 2017-04-14 05:56:54 -05:00
Kconfig.altera_jtag
Kconfig.atmel_sam3
Kconfig.cc32xx cc3200: Resolve DTS fixup. 2017-04-04 17:55:12 -05:00
Kconfig.cmsdk_apb v2m_beetle: uart: Add DTS support to UART driver 2017-02-10 18:14:04 +00:00
Kconfig.fe310 serial: added support for the SiFive Freedom E310 UART driver 2017-04-02 15:15:21 +00:00
Kconfig.mcux serial: mcux: remove bits related to !HAS_DTS 2017-04-14 05:56:53 -05:00
Kconfig.mcux_lpuart serial: mcux: remove bits related to !HAS_DTS 2017-04-14 05:56:53 -05:00
Kconfig.nrf5 arm: dts: Add DTS support for NRF52832 SoC 2017-04-14 05:56:54 -05:00
Kconfig.ns16550 serial: enable 64-bytes FIFO for UART 16750 in uart_ns16550 driver 2017-01-05 16:05:20 +00:00
Kconfig.nsim
Kconfig.qmsi
Kconfig.riscv_qemu license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.stellaris doc: Fix terminology in Kconfig files for 'platform' 2016-08-18 21:17:29 +00:00
Kconfig.stm32 serial: stm32: remove bits related to !HAS_DTS 2017-04-14 05:56:53 -05:00
Kconfig.uart_sam drivers: Add Atmel SAM serial (UART) driver 2017-04-14 05:56:54 -05:00
Kconfig.usart_sam drivers: Add basic Atmel SAM USART driver 2017-02-01 21:01:18 +00:00
Makefile drivers: Add Atmel SAM serial (UART) driver 2017-04-14 05:56:54 -05:00
uart_altera_jtag.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
uart_atmel_sam3.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
uart_cc32xx.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
uart_cmsdk_apb.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
uart_fe310.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
uart_mcux.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
uart_mcux_lpuart.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
uart_nrf5.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
uart_ns16550.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
uart_ns16550.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
uart_nsim.c Introduce new sized integer typedefs 2017-04-20 16:07:08 +00:00
uart_qmsi.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
uart_riscv_qemu.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
uart_sam.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
uart_stellaris.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
uart_stellaris.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
uart_stm32.c Revert "serial: stm32: Give H/W a chance to set the TXE bit on transfer" 2017-04-27 15:19:59 +00:00
uart_stm32.h drivers: stm32: clean up after stm23cube based clock control 2017-02-10 14:47:41 -06:00
usart_sam.c drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00