浏览代码

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>
Alan Cox 13 年之前
父节点
当前提交
9bc03743ff
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/tty/serial/pch_uart.c

+ 1 - 0
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;