]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
pch_uart: Fix missing break for 16 byte fifo
authorAlan Cox <alan@linux.intel.com>
Mon, 2 Jul 2012 17:51:38 +0000 (18:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2012 16:47:53 +0000 (09:47 -0700)
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>
drivers/tty/serial/pch_uart.c

index 101eda9f1965c776f61728c2fca93bf77f97007d..40e799a85f9525b0d29723f6c11a3ecd936d5cda 100644 (file)
@@ -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;