summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/pch_uart.c
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-07-17 09:27:31 -0700
commit669bd45f117cc8c7309acd6b6bb054fe4d9e46c0 (patch)
tree2fa3ffd6eaa5ea4b07f59d7f6fa394649650b3a3 /drivers/tty/serial/pch_uart.c
parentfde8be29239bf4a4118d918df1b2b8ef7266b1a2 (diff)
downloadblackbird-op-linux-669bd45f117cc8c7309acd6b6bb054fe4d9e46c0.tar.gz
blackbird-op-linux-669bd45f117cc8c7309acd6b6bb054fe4d9e46c0.zip
pch_uart: Fix missing break for 16 byte fifo
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/pch_uart.c')
-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 d291518a58a4..c5bc23d6ade9 100644
--- a/drivers/tty/serial/pch_uart.c
+++ b/drivers/tty/serial/pch_uart.c
@@ -1266,6 +1266,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;
OpenPOWER on IntegriCloud