From: Andy Duan Date: Tue, 16 Oct 2018 07:32:19 +0000 (+0000) Subject: serial: fsl_lpuart: fix the typo: UARTCR1_PE -> UARTCTRL_PE X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=61e169ee7683630ee0276dd5dcb5599976757770;p=openwrt%2Fstaging%2Fblogic.git serial: fsl_lpuart: fix the typo: UARTCR1_PE -> UARTCTRL_PE Fix the typo: UARTCR1_PE -> UARTCTRL_PE There have no function impacted since the macro define value is the same. Cc: Lukas Wunner Signed-off-by: Andy Duan Reviewed-by: Fabio Estevam Acked-by: Uwe Kleine-König Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c index 00c220e4f43c..cabae83d43ab 100644 --- a/drivers/tty/serial/fsl_lpuart.c +++ b/drivers/tty/serial/fsl_lpuart.c @@ -1682,7 +1682,7 @@ lpuart32_set_termios(struct uart_port *port, struct ktermios *termios, ctrl &= ~UARTCTRL_PE; ctrl |= UARTCTRL_M; } else { - ctrl |= UARTCR1_PE; + ctrl |= UARTCTRL_PE; if ((termios->c_cflag & CSIZE) == CS8) ctrl |= UARTCTRL_M; if (termios->c_cflag & PARODD)