mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 02:19:51 +00:00
USB: serial: ti_usb_3410_5052: clean up termios CSIZE handling
Remove the random white space from the CSIZE switch. Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org>
This commit is contained in:
parent
b7cff0c412
commit
4ef8f23577
1 changed files with 8 additions and 8 deletions
|
@ -910,18 +910,18 @@ static void ti_set_termios(struct tty_struct *tty,
|
|||
|
||||
switch (C_CSIZE(tty)) {
|
||||
case CS5:
|
||||
config->bDataBits = TI_UART_5_DATA_BITS;
|
||||
break;
|
||||
config->bDataBits = TI_UART_5_DATA_BITS;
|
||||
break;
|
||||
case CS6:
|
||||
config->bDataBits = TI_UART_6_DATA_BITS;
|
||||
break;
|
||||
config->bDataBits = TI_UART_6_DATA_BITS;
|
||||
break;
|
||||
case CS7:
|
||||
config->bDataBits = TI_UART_7_DATA_BITS;
|
||||
break;
|
||||
config->bDataBits = TI_UART_7_DATA_BITS;
|
||||
break;
|
||||
default:
|
||||
case CS8:
|
||||
config->bDataBits = TI_UART_8_DATA_BITS;
|
||||
break;
|
||||
config->bDataBits = TI_UART_8_DATA_BITS;
|
||||
break;
|
||||
}
|
||||
|
||||
/* CMSPAR isn't supported by this driver */
|
||||
|
|
Loading…
Reference in a new issue