Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a61d9e6e authored by Gerald Baeza's avatar Gerald Baeza Committed by Greg Kroah-Hartman
Browse files

serial: stm32: fix pio transmit timeout



100µs was too short for low speed transmission
(9600bps)

Signed-off-by: default avatarGerald Baeza <gerald.baeza@st.com>
Signed-off-by: default avatarBich Hemon <bich.hemon@st.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a704ddc2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -203,7 +203,7 @@ static void stm32_transmit_chars_pio(struct uart_port *port)
	ret = readl_relaxed_poll_timeout_atomic(port->membase + ofs->isr,
						isr,
						(isr & USART_SR_TXE),
						10, 100);
						10, 100000);

	if (ret)
		dev_err(port->dev, "tx empty not set\n");