serial: tegra_hsuart: Fix typo preventing non 8-bit modes
authorColin Cross <ccross@android.com>
Thu, 2 Sep 2010 23:16:24 +0000 (16:16 -0700)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:28:18 +0000 (16:28 -0700)
Change-Id: Ife085017dd7a956c46ad4077c5bbf33d5a049f3d
Signed-off-by: Colin Cross <ccross@android.com>
drivers/serial/tegra_hsuart.c

index 33f4592cf6ac7f5495d6d2a31ebdf3a3f688717e..0341aa55a957846cb1dd1ef9122414edef1812a8 100644 (file)
@@ -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;