[PATCH 09/20] serial: stm32: fix end of transfer

2017-06-26 Thread Bich HEMON
From: Bich Hemon tx_empty: poll TC (PIO mode) or DMAT (DMA mode) bit. flush_buffer: terminate on going DMA tx transfer. remove: terminate DMA rx and tx transfers. Signed-off-by: Gerald Baeza --- drivers/tty/serial/stm32-usart.c | 37

[PATCH 09/20] serial: stm32: fix end of transfer

2017-06-26 Thread Bich HEMON
From: Bich Hemon tx_empty: poll TC (PIO mode) or DMAT (DMA mode) bit. flush_buffer: terminate on going DMA tx transfer. remove: terminate DMA rx and tx transfers. Signed-off-by: Gerald Baeza --- drivers/tty/serial/stm32-usart.c | 37 ++--- 1 file changed, 34