aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorKonrad Zapalowicz <bergo.torino@gmail.com>2014-11-08 20:22:18 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-25 20:06:38 -0500
commit245ae51cec684aa1a3e6e35afdf2a6c93d371b32 (patch)
treeff2fd4e32105651b63ea7eb6ecdeec3e312bc073 /drivers/tty
parentb6501dd86ff085a8687d157c016f46a34e46bf5b (diff)
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>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/jsm/jsm_neo.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/tty/serial/jsm/jsm_neo.c b/drivers/tty/serial/jsm/jsm_neo.c
index 4b8196db02f3..5de6dffbdc0c 100644
--- a/drivers/tty/serial/jsm/jsm_neo.c
+++ b/drivers/tty/serial/jsm/jsm_neo.c
@@ -1019,19 +1019,19 @@ static void neo_param(struct jsm_channel *ch)
1019 lcr |= UART_LCR_STOP; 1019 lcr |= UART_LCR_STOP;
1020 1020
1021 switch (ch->ch_c_cflag & CSIZE) { 1021 switch (ch->ch_c_cflag & CSIZE) {
1022 case CS5: 1022 case CS5:
1023 lcr |= UART_LCR_WLEN5; 1023 lcr |= UART_LCR_WLEN5;
1024 break; 1024 break;
1025 case CS6: 1025 case CS6:
1026 lcr |= UART_LCR_WLEN6; 1026 lcr |= UART_LCR_WLEN6;
1027 break; 1027 break;
1028 case CS7: 1028 case CS7:
1029 lcr |= UART_LCR_WLEN7; 1029 lcr |= UART_LCR_WLEN7;
1030 break;
1031 case CS8:
1032 default:
1033 lcr |= UART_LCR_WLEN8;
1034 break; 1030 break;
1031 case CS8:
1032 default:
1033 lcr |= UART_LCR_WLEN8;
1034 break;
1035 } 1035 }
1036 1036
1037 ier = readb(&ch->ch_neo_uart->ier); 1037 ier = readb(&ch->ch_neo_uart->ier);