We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47934ef commit 5df884dCopy full SHA for 5df884d
drivers/tty/serial/fsl_lpuart.c
@@ -548,7 +548,7 @@ static void lpuart_flush_buffer(struct uart_port *port)
548
val |= UARTFIFO_TXFLUSH | UARTFIFO_RXFLUSH;
549
lpuart32_write(&sport->port, val, UARTFIFO);
550
} else {
551
- val = readb(sport->port.membase + UARTPFIFO);
+ val = readb(sport->port.membase + UARTCFIFO);
552
val |= UARTCFIFO_TXFLUSH | UARTCFIFO_RXFLUSH;
553
writeb(val, sport->port.membase + UARTCFIFO);
554
}
0 commit comments