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
@ -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 New Issue
Block a user