Skip to content
Commit 9e8cbea1 authored by Valentin Caron's avatar Valentin Caron Committed by Patrice Chotard
Browse files

serial: stm32: extend TC timeout



Waiting 150us TC bit couldn't be enough.

If TFA lets 16 bits in USART fifo, we has to wait 16 times 87 us (time
of 10 bits (1 byte in most use cases) at a baud rate of 115200).

Fixes: b4dbc5d6 ("serial: stm32: Wait TC bit before performing initialization")

Signed-off-by: default avatarValentin Caron <valentin.caron@foss.st.com>
Signed-off-by: default avatarPatrice Chotard <patrice.chotard@foss.st.com>
parent c9678850
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment