commit | 3d82be8be6fdf38543fa3ae9c35beda4a8a8d067 | [log] [tgz] |
---|---|---|
author | Erwan Le Ray <erwan.leray@foss.st.com> | Thu Mar 04 17:23:08 2021 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Mar 10 09:34:11 2021 +0100 |
tree | d8bc9cf9ab4a717db5ad7432e2a451ff5102daca | |
parent | 3db1d52466dc11dca4e47ef12a6e6e97f846af62 [diff] |
serial: stm32: add support for "flush_buffer" ops Add the support for "flush_buffer" ops in order to flush any write buffers, reset any DMA state and stop any ongoing DMA transfers when the port->state->xmit circular buffer is cleared. Signed-off-by: Erwan Le Ray <erwan.leray@foss.st.com> Link: https://lore.kernel.org/r/20210304162308.8984-14-erwan.leray@foss.st.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>