mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
serail: msm_geni_serial: Stop TX Engine during port close
This change is added to stop_tx during port shutdown. Leaving TX sequencer active after port shutdown resulting in unexpected behaviour because we expect TX sequencer and DMA engine to go IDLE after port close. In some cases TX remains active and trying to send invalid TX zero bytes over TX line. Hence stop TX during port close. Change-Id: I5ac15726bee16d2cc4de96dcd64e5c1d2b743908 Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
This commit is contained in:
parent
1c0ece4496
commit
5c56d5da09
1 changed files with 1 additions and 0 deletions
|
|
@ -2079,6 +2079,7 @@ static void msm_geni_serial_shutdown(struct uart_port *uport)
|
|||
} else {
|
||||
msm_geni_serial_power_on(uport);
|
||||
wait_for_transfers_inflight(uport);
|
||||
msm_geni_serial_stop_tx(uport);
|
||||
}
|
||||
|
||||
if (!uart_console(uport)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue