summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2012-07-02 18:51:38 +0100
committerBen Hutchings <ben@decadent.org.uk>2012-08-10 00:25:17 +0100
commit882cd0e86a1640fd70298d13b924c2c9fb8861a7 (patch)
tree85bd96fd58b37c8360cadf9fb2ac1a36e62f5123
parentd4a6acbb4b73704d018e65cc090be2fd2cc4322b (diff)
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
-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 a4b192dc0e29..5ad504006aac 100644
--- a/drivers/tty/serial/pch_uart.c
+++ b/drivers/tty/serial/pch_uart.c
@@ -1163,6 +1163,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;