Skip to contentSkip to conversation

pch_uart: Fix missing break for 16 byte fifo

PATCH New Alan Cox 1 participant 1 message Jul 2, 2012 TTY layer and serial drivers

lore
Share & tools
lore

Alan Cox

author
#0 lore raw

PATCH 1/1 pch_uart: Fix missing break for 16 byte fifo

From: Alan Cox <[email protected]>

Otherwise we fall back to the wrong value.

Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=44091

---

 drivers/tty/serial/pch_uart.c |    1 +
 1 file changed, 1 insertion(+)
drivers/tty/serial/pch_uart.c +1 -0
index 4fdec6a..d53621a 100644
@@ -1263,6 +1263,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;