diff options
author | Patrice Chotard <patrice.chotard@foss.st.com> | 2023-05-31 08:01:30 +0200 |
---|---|---|
committer | Patrice Chotard <patrice.chotard@foss.st.com> | 2023-06-16 11:29:29 +0200 |
commit | b4dbc5d65a67456db9cfe874d123e1c87860301d (patch) | |
tree | 7ad910087de646219df5e2a460ae0ecebc888acc /drivers/net/phy/phy.c | |
parent | 6d9f86571d10309f00dc9a7f3d8b9882cfd23ce4 (diff) |
serial: stm32: Wait TC bit before performing initialization
In case there is still chars from previous bootstage to transmit, wait
for TC (Transmission Complete) bit to be set which ensure that the last
data written in the USART_TDR has been transmitted out of the shift
register.
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Diffstat (limited to 'drivers/net/phy/phy.c')
0 files changed, 0 insertions, 0 deletions