Doug Brown 5208e7ced5 serial: 8250_pxa: Configure tx_loadsz to match FIFO IRQ level
The FIFO is 64 bytes, but the FCR is configured to fire the TX interrupt
when the FIFO is half empty (bit 3 = 0). Thus, we should only write 32
bytes when a TX interrupt occurs.

This fixes a problem observed on the PXA168 that dropped a bunch of TX
bytes during large transmissions.

Fixes: ab28f51c77cd ("serial: rewrite pxa2xx-uart to use 8250_core")
Signed-off-by: Doug Brown <doug@schmorgal.com>
Link: https://lore.kernel.org/r/20240519191929.122202-1-doug@schmorgal.com
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-06-04 14:08:09 +02:00
..
2024-05-22 11:53:02 -07:00
2024-02-06 14:35:38 +00:00
2024-05-22 11:53:02 -07:00
2023-12-08 12:02:38 +01:00
2023-12-08 12:02:38 +01:00
2024-05-24 08:38:28 -07:00
2023-12-08 12:02:38 +01:00
2023-08-11 21:12:47 +02:00
2023-12-08 12:02:38 +01:00
2023-08-11 21:12:46 +02:00
2024-01-18 11:43:55 -08:00
2023-12-08 12:02:37 +01:00