diff options
author | Alan Cox <alan@linux.intel.com> | 2012-07-02 13:51:38 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-26 16:37:12 -0400 |
commit | 9bc03743fff0770dc5a5324ba92e67cc377f16ca (patch) | |
tree | 6338a4f076629077e493e7ffabbaf904ac382fd6 | |
parent | aa3c8af86382227c2a599dc477bfc5b127d3f569 (diff) |
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>
-rw-r--r-- | drivers/tty/serial/pch_uart.c | 1 |
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) | |||
1266 | break; | 1266 | break; |
1267 | case 16: | 1267 | case 16: |
1268 | fifo_size = PCH_UART_HAL_FIFO16; | 1268 | fifo_size = PCH_UART_HAL_FIFO16; |
1269 | break; | ||
1269 | case 1: | 1270 | case 1: |
1270 | default: | 1271 | default: |
1271 | fifo_size = PCH_UART_HAL_FIFO_DIS; | 1272 | fifo_size = PCH_UART_HAL_FIFO_DIS; |