Skip to content
Commit 47e43d55 authored by Jacky Lee's avatar Jacky Lee Committed by Benjamin Cabé
Browse files

drivers: serial: ns16550: Fix TX IRQ not triggered when FIFO is empty



When uart_ns16550_irq_tx_enable() is called and the TX FIFO is already
empty, no new interrupt is generated, causing data transmission to stall
in some cases. This patch introduces a workaround to simulate an ISR
callback if the FIFO is empty when enabling the TX IRQ.

Signed-off-by: default avatarJacky Lee <jacky.lee@egistec.com>
parent 7fa815c9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment