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

Commit 9edbe4c9 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

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

parents 3e66ba15 3a92fe01
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -1809,7 +1809,6 @@ static void set_rfr_wm(struct msm_geni_serial_port *port)
static void msm_geni_serial_shutdown(struct uart_port *uport)
{
	struct msm_geni_serial_port *msm_port = GET_DEV_PORT(uport);
	unsigned long flags;
	int ret;

	IPC_LOG_MSG(msm_port->ipc_log_misc, "%s:\n", __func__);
@@ -1823,10 +1822,6 @@ static void msm_geni_serial_shutdown(struct uart_port *uport)

	disable_irq(uport->irq);
	free_irq(uport->irq, uport);
	spin_lock_irqsave(&uport->lock, flags);
	msm_geni_serial_stop_tx(uport);
	msm_geni_serial_stop_rx(uport);
	spin_unlock_irqrestore(&uport->lock, flags);

	if (!uart_console(uport)) {
		if (msm_port->ioctl_count) {