From 1cbb15db1af540fcfaf19090bbf263695a161f48 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 8 Dec 2013 09:26:53 -0600 Subject: [PATCH] A10: Fix serial TX interrupts --- arch/arm/src/a1x/a1x_serial.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/a1x/a1x_serial.c b/arch/arm/src/a1x/a1x_serial.c index fd73ad34bc..60ed48290c 100644 --- a/arch/arm/src/a1x/a1x_serial.c +++ b/arch/arm/src/a1x/a1x_serial.c @@ -1472,7 +1472,7 @@ static void up_txint(struct uart_dev_s *dev, bool enable) if (enable) { #ifndef CONFIG_SUPPRESS_SERIAL_INTS - priv->ier |= UART_IER_PTIME; + priv->ier |= UART_IER_ETBEI; up_serialout(priv, A1X_UART_IER_OFFSET, priv->ier); /* Fake a TX interrupt here by just calling uart_xmitchars() with @@ -1484,7 +1484,7 @@ static void up_txint(struct uart_dev_s *dev, bool enable) } else { - priv->ier &= ~UART_IER_PTIME; + priv->ier &= ~UART_IER_ETBEI; up_serialout(priv, A1X_UART_IER_OFFSET, priv->ier); }