commit | 47e43d552e813c1f9acc4e999c5dd59008d72905 | [log] [tgz] |
---|---|---|
author | Jacky Lee <jacky.lee@egistec.com> | Fri May 23 11:40:31 2025 +0800 |
committer | Benjamin Cabé <kartben@gmail.com> | Mon Jun 16 14:12:12 2025 +0200 |
tree | 04a2c9c523798ea52004d9fb7ea465fc67bc50ec | |
parent | 7fa815c92967f26a7c9af33776677015013e18d0 [diff] |
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: Jacky Lee <jacky.lee@egistec.com>