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

Commit 284ddbbc authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "tty: serial: msm_geni_serial: Enable IRQ after device becomes active"

parents 6a89f222 0525e57e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -493,6 +493,7 @@ static int msm_geni_serial_power_on(struct uart_port *uport)
			} else {
				pm_runtime_get_noresume(uport->dev);
				pm_runtime_set_active(uport->dev);
				enable_irq(uport->irq);
			}
			pm_runtime_enable(uport->dev);
			if (lock)
@@ -2576,6 +2577,7 @@ static int msm_geni_serial_runtime_resume(struct device *dev)
						SE_UART_MANUAL_RFR);
	/* Ensure that the Rx is running before enabling interrupts */
	mb();
	if (pm_runtime_enabled(dev))
		enable_irq(port->uport.irq);
	IPC_LOG_MSG(port->ipc_log_pwr, "%s:\n", __func__);
exit_runtime_resume: