mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
serial: tegra_hsuart: Fix typo preventing non 8-bit modes
Change-Id: Ife085017dd7a956c46ad4077c5bbf33d5a049f3d Signed-off-by: Colin Cross <ccross@android.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user