Skip to content

Commit

Permalink
arch/arm64/src/imx9/imx9_lpuart.c: Call uart_xmitchars when txint is …
Browse files Browse the repository at this point in the history
…enabled

Signed-off-by: Jukka Laitinen <[email protected]>
  • Loading branch information
jlaitine committed Jan 22, 2025
1 parent 0ffb0b7 commit d17a641
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions arch/arm64/src/imx9/imx9_lpuart.c
Original file line number Diff line number Diff line change
Expand Up @@ -2358,6 +2358,14 @@ static void imx9_txint(struct uart_dev_s *dev, bool enable)
regval &= ~LPUART_ALL_INTS;
regval |= priv->ie;
imx9_serialout(priv, IMX9_LPUART_CTRL_OFFSET, regval);

#ifndef CONFIG_SUPPRESS_SERIAL_INTS
if (enable)
{
uart_xmitchars(dev);
}
#endif

spin_unlock_irqrestore(&priv->lock, flags);
}
#endif
Expand Down

0 comments on commit d17a641

Please sign in to comment.