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

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

Merge "serial: msm_geni_serial: Enable interrupt post handler registration"

parents a2cc576e 7d32c3d4
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -2624,7 +2624,11 @@ static int msm_geni_serial_runtime_resume(struct device *dev)
	start_rx_sequencer(&port->uport);
	/* Ensure that the Rx is running before enabling interrupts */
	mb();
	if (pm_runtime_enabled(dev))
	/*
	 * Do not enable irq before interrupt registration which happens
	 * at port open time.
	 */
	if (pm_runtime_enabled(dev) && port->xfer_mode != INVALID)
		enable_irq(port->uport.irq);
	IPC_LOG_MSG(port->ipc_log_pwr, "%s:\n", __func__);
exit_runtime_resume: