Skip to content

Commit bc5a530

Browse files
arter97DhineshCool
authored andcommitted
msm_geni_serial: skip flushing tx upon shutdown
This is causing runtime PM to malfunction and prevents suspend indefinitely. This might be HAL related, but since flushing data by manually powering on the serial is unnecessary upon shutdown, skip it instead. Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com> Signed-off-by: Alexander Winkowski <dereference23@outlook.com> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
1 parent c7eb1c7 commit bc5a530

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/tty/serial/msm_geni_serial.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2213,8 +2213,6 @@ static void msm_geni_serial_shutdown(struct uart_port *uport)
22132213
console_stop(uport->cons);
22142214
disable_irq(uport->irq);
22152215
} else {
2216-
msm_geni_serial_power_on(uport);
2217-
wait_for_transfers_inflight(uport);
22182216
msm_geni_serial_stop_tx(uport);
22192217
}
22202218

0 commit comments

Comments
 (0)