commit | 683dbc4573ae0834f8f437a96283e9eb174c3224 | [log] [tgz] |
---|---|---|
author | Ron Smith <rockyowl171@gmail.com> | Sat Aug 28 19:50:09 2021 -0400 |
committer | Christopher Friedt <chrisfriedt@gmail.com> | Sun Sep 19 19:31:25 2021 -0400 |
tree | 1112523c4e1d6924bd8cf0609bfc02d9764df21d | |
parent | a0d92453d803b8d5037741f5416340e6952cf205 [diff] |
drivers: serial: uart_sam0: Fix async tx done event triggering to early. uart_sam0_dma_tx_done callback triggers when the last byte is transferred from the tx sram buffer to the sercom DATA register. However the byte has yet to be transmitted completely which can lead to incorrect event handling if UART_TX_DONE is expected to signal the end of transmission. Signed-off-by: Ron Smith <rockyowl171@gmail.com>