commit | 9e8cbea1a74516235820ccd50d513c961e43cb70 | [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 | c9678850bdef44bd7cab6238c56151b54d809047 [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>