serial: jsm: Fix the alignment of the switch satement
This commit fixes the alignment of the 'case's i the switch statement. Signed-off-by: Konrad Zapalowicz <bergo.torino@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
b6501dd86f
Коммит
245ae51cec
|
@ -1019,19 +1019,19 @@ static void neo_param(struct jsm_channel *ch)
|
||||||
lcr |= UART_LCR_STOP;
|
lcr |= UART_LCR_STOP;
|
||||||
|
|
||||||
switch (ch->ch_c_cflag & CSIZE) {
|
switch (ch->ch_c_cflag & CSIZE) {
|
||||||
case CS5:
|
case CS5:
|
||||||
lcr |= UART_LCR_WLEN5;
|
lcr |= UART_LCR_WLEN5;
|
||||||
break;
|
|
||||||
case CS6:
|
|
||||||
lcr |= UART_LCR_WLEN6;
|
|
||||||
break;
|
|
||||||
case CS7:
|
|
||||||
lcr |= UART_LCR_WLEN7;
|
|
||||||
break;
|
|
||||||
case CS8:
|
|
||||||
default:
|
|
||||||
lcr |= UART_LCR_WLEN8;
|
|
||||||
break;
|
break;
|
||||||
|
case CS6:
|
||||||
|
lcr |= UART_LCR_WLEN6;
|
||||||
|
break;
|
||||||
|
case CS7:
|
||||||
|
lcr |= UART_LCR_WLEN7;
|
||||||
|
break;
|
||||||
|
case CS8:
|
||||||
|
default:
|
||||||
|
lcr |= UART_LCR_WLEN8;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
ier = readb(&ch->ch_neo_uart->ier);
|
ier = readb(&ch->ch_neo_uart->ier);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче