From: Alan Cox Date: Mon, 2 Jul 2012 17:51:38 +0000 (+0100) Subject: pch_uart: Fix missing break for 16 byte fifo X-Git-Tag: v2.6.39-400.9.0~243 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=862acd0a96ad604d357fff843bd6acae7d9ee0c9;p=users%2Fjedix%2Flinux-maple.git pch_uart: Fix missing break for 16 byte fifo commit 9bc03743fff0770dc5a5324ba92e67cc377f16ca upstream. Otherwise we fall back to the wrong value. Reported-by: Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=44091 Signed-off-by: Alan Cox Signed-off-by: Tomoya MORINAGA Signed-off-by: Greg Kroah-Hartman Signed-off-by: Guangyu Sun --- diff --git a/drivers/tty/serial/pch_uart.c b/drivers/tty/serial/pch_uart.c index 101eda9f1965..40e799a85f95 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;