summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2012-09-24 19:12:02 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-26 22:41:05 +0200
commit91f61ce24f95f6d5f96efb56e0a8633e19184289 (patch)
tree7432950ce09c7f13a246a3248ff4d835749e13f5 /drivers/tty
parentserial: sccnxp: Remove mask termios caps for SW flow control (diff)
downloadlinux-91f61ce24f95f6d5f96efb56e0a8633e19184289.tar.xz
linux-91f61ce24f95f6d5f96efb56e0a8633e19184289.zip
serial: sccnxp: Make 'default' choice in switch last
Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/sccnxp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/sccnxp.c b/drivers/tty/serial/sccnxp.c
index f06981df80b7..b7086d004f5f 100644
--- a/drivers/tty/serial/sccnxp.c
+++ b/drivers/tty/serial/sccnxp.c
@@ -550,8 +550,8 @@ static void sccnxp_set_termios(struct uart_port *port,
case CS7:
mr1 = MR1_BITS_7;
break;
- default:
case CS8:
+ default:
mr1 = MR1_BITS_8;
break;
}