imxrt:Serial LPUART_STAT_PF s/b LPUART_STAT_NF

as a result of a typo LPUART_STAT_NF was not checked and
   cleared on LPUART_STAT_PF.
This commit is contained in:
David Sidrane 2022-12-09 05:14:33 -08:00 committed by Xiang Xiao
parent 57190efe84
commit 4284d0398b
1 changed files with 1 additions and 1 deletions

View File

@ -1780,7 +1780,7 @@ static int imxrt_interrupt(int irq, void *context, void *arg)
imxrt_serialout(priv, IMXRT_LPUART_STAT_OFFSET, LPUART_STAT_OR);
}
if ((usr & LPUART_STAT_PF) != 0)
if ((usr & LPUART_STAT_NF) != 0)
{
imxrt_serialout(priv, IMXRT_LPUART_STAT_OFFSET, LPUART_STAT_NF);
}