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

Commit f52893d4 authored by Chris Lew's avatar Chris Lew
Browse files

soc: qcom: qcom_ipcc: clear interrupt first



IPCC should simulate the edge interrupt handling provided by GIC. Clear
the interrupt before callng the ISR to prevent missing interrupts fired
during the ISR execution.

Change-Id: I617c74cb8cd50b307dab8414fb08fe9c59c23880
Signed-off-by: default avatarChris Lew <clew@codeaurora.org>
parent e222d4df
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -90,10 +90,10 @@ static irqreturn_t qcom_ipcc_irq_fn(int irq, void *data)
			qcom_ipcc_get_client_id(packed_id),
			qcom_ipcc_get_signal_id(packed_id), virq);

		generic_handle_irq(virq);

		writel_no_log(packed_id,
				proto_data->base + IPCC_REG_RECV_SIGNAL_CLEAR);

		generic_handle_irq(virq);
	}

	return IRQ_HANDLED;