serial: fsl_lpuart: fix the typo: UARTCR1_PE -> UARTCTRL_PE
authorAndy Duan <fugang.duan@nxp.com>
Tue, 16 Oct 2018 07:32:19 +0000 (07:32 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Nov 2018 16:48:57 +0000 (08:48 -0800)
Fix the typo: UARTCR1_PE -> UARTCTRL_PE
There have no function impacted since the macro define value is
the same.

Cc: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Andy Duan <fugang.duan@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/fsl_lpuart.c

index 00c220e4f43c035ba470c3414f8e070e08845d98..cabae83d43ab27a2a7219fc5256e01afc14fa87f 100644 (file)
@@ -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)