Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 453cf8d8 authored by Chandana Kishori Chiluveru's avatar Chandana Kishori Chiluveru
Browse files

serial: msm_geni_serial: No need to stop_tx/rx on UART shutdown



Framework driver already stopping rx/tx before calling port shutdown
api to ensure everything is stopped before disabling port. Hence
removing stop_rx/tx from port shutdown function.

Change-Id: I53891f37dae146b7960c123c00cac6cdfd81289d
Signed-off-by: default avatarChandana Kishori Chiluveru <cchiluve@codeaurora.org>
parent 82e0a0f5
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -2024,9 +2024,6 @@ static void msm_geni_serial_shutdown(struct uart_port *uport)
		wait_for_transfers_inflight(uport);
	}

	msm_geni_serial_stop_tx(uport);
	msm_geni_serial_stop_rx(uport);

	if (!uart_console(uport)) {
		if (msm_port->ioctl_count) {
			int i;