From 57e1a9e2927f948535d49cf01d7a48b7d0b24a42 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Thu, 2 Sep 2010 16:16:24 -0700 Subject: [PATCH] serial: tegra_hsuart: Fix typo preventing non 8-bit modes Change-Id: Ife085017dd7a956c46ad4077c5bbf33d5a049f3d Signed-off-by: Colin Cross --- drivers/serial/tegra_hsuart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.34.1