From: Colin Cross Date: Thu, 2 Sep 2010 23:16:24 +0000 (-0700) Subject: serial: tegra_hsuart: Fix typo preventing non 8-bit modes X-Git-Tag: firefly_0821_release~9833^2~238 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=57e1a9e2927f948535d49cf01d7a48b7d0b24a42;p=firefly-linux-kernel-4.4.55.git serial: tegra_hsuart: Fix typo preventing non 8-bit modes Change-Id: Ife085017dd7a956c46ad4077c5bbf33d5a049f3d Signed-off-by: Colin Cross --- diff --git a/drivers/serial/tegra_hsuart.c b/drivers/serial/tegra_hsuart.c index 33f4592cf6ac..0341aa55a957 100644 --- a/drivers/serial/tegra_hsuart.c +++ b/drivers/serial/tegra_hsuart.c @@ -979,7 +979,7 @@ static void tegra_set_termios(struct uart_port *u, struct ktermios *termios, } } - lcr &= UART_LCR_WLEN8; + lcr &= ~UART_LCR_WLEN8; switch (c_cflag & CSIZE) { case CS5: lcr |= UART_LCR_WLEN5;