This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit b2349aee5c4f41e6b800c854915de6e5173376db
Author: Jiri Vlasak <[email protected]>
AuthorDate: Wed Mar 25 12:09:18 2026 +0100

    kinetis/serial: Do not fake TX interrupt
    
    Because it is not needed anymore.
    
    The original code here is from the initial implementation in the commit
    66b873ef77e.
    
    Signed-off-by: Jiri Vlasak <[email protected]>
---
 arch/arm/src/kinetis/kinetis_serial.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/arch/arm/src/kinetis/kinetis_serial.c 
b/arch/arm/src/kinetis/kinetis_serial.c
index ddffc8130c0..ccfa84ef29e 100644
--- a/arch/arm/src/kinetis/kinetis_serial.c
+++ b/arch/arm/src/kinetis/kinetis_serial.c
@@ -2022,12 +2022,6 @@ static void up_txint(struct uart_dev_s *dev, bool enable)
       priv->ie |= UART_C2_TIE;
       priv->ie |= UART_C2_TCIE;
       up_setuartint(priv);
-
-      /* Fake a TX interrupt here by just calling uart_xmitchars() with
-       * interrupts disabled (note this may recurse).
-       */
-
-      uart_xmitchars(dev);
 #endif
     }
   else

Reply via email to