Skip to content

Commit

Permalink
serial: jsm: Fix the alignment of the switch satement
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Konrad Zapalowicz authored and Greg Kroah-Hartman committed Nov 26, 2014
1 parent b6501dd commit 245ae51
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions drivers/tty/serial/jsm/jsm_neo.c
Original file line number Diff line number Diff line change
Expand Up @@ -1019,19 +1019,19 @@ static void neo_param(struct jsm_channel *ch)
lcr |= UART_LCR_STOP;

switch (ch->ch_c_cflag & CSIZE) {
case CS5:
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;
case CS5:
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;
}

ier = readb(&ch->ch_neo_uart->ier);
Expand Down

0 comments on commit 245ae51

Please sign in to comment.