aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2012-07-02 18:51:38 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-02 09:47:53 -0700
commit00b35456c281ca28739b83e6493ae5e981c68bf5 (patch)
tree5b0db8b4d8b96432ce46984b6b10c47749553aaa /drivers/tty/serial
parentabfbc26e32cd42374213c90766a5f416ad58732c (diff)
downloadkernel_samsung_espresso10-00b35456c281ca28739b83e6493ae5e981c68bf5.zip
kernel_samsung_espresso10-00b35456c281ca28739b83e6493ae5e981c68bf5.tar.gz
kernel_samsung_espresso10-00b35456c281ca28739b83e6493ae5e981c68bf5.tar.bz2
pch_uart: Fix missing break for 16 byte fifo
commit 9bc03743fff0770dc5a5324ba92e67cc377f16ca upstream. Otherwise we fall back to the wrong value. Reported-by: <dcb314@hotmail.com> Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=44091 Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Tomoya MORINAGA <tomoya.rohm@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r--drivers/tty/serial/pch_uart.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/pch_uart.c b/drivers/tty/serial/pch_uart.c
index 101eda9..40e799a 100644
--- a/drivers/tty/serial/pch_uart.c
+++ b/drivers/tty/serial/pch_uart.c
@@ -1161,6 +1161,7 @@ static int pch_uart_startup(struct uart_port *port)
break;
case 16:
fifo_size = PCH_UART_HAL_FIFO16;
+ break;
case 1:
default:
fifo_size = PCH_UART_HAL_FIFO_DIS;