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

Commit 15e4c488 authored by Kyle Yan's avatar Kyle Yan Committed by Gerrit - the friendly Code Review server
Browse files

Merge "spmi: pmic_arb: use appropriate flow handler" into msm-4.8

parents fda02bf3 2464e909
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -629,6 +629,12 @@ static int qpnpint_irq_set_type(struct irq_data *d, unsigned int flow_type)
	}

	qpnpint_spmi_write(d, QPNPINT_REG_SET_TYPE, &type, sizeof(type));

	if (flow_type & IRQ_TYPE_EDGE_BOTH)
		irq_set_handler_locked(d, handle_edge_irq);
	else
		irq_set_handler_locked(d, handle_level_irq);

	return 0;
}