commit | aa74b112d6b0bf9dc8cf1f617654aa65562c65b8 | [log] [tgz] |
---|---|---|
author | Valentin Caron <valentin.caron@foss.st.com> | Fri Aug 04 16:09:04 2023 +0200 |
committer | Patrice Chotard <patrice.chotard@foss.st.com> | Wed Aug 16 15:38:23 2023 +0200 |
tree | a1453abc075dc3c602124909a13413219f425841 | |
parent | b30b15906ffbf5e86298f5df2eb86b145acaa31c [diff] |
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: b4dbc5d65a67 ("serial: stm32: Wait TC bit before performing initialization") Signed-off-by: Valentin Caron <valentin.caron@foss.st.com> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>