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

Commit add3956d authored by Joonwoo Park's avatar Joonwoo Park
Browse files

pinctrl: msm: set irq's flow type with controller extension always



Kill improper if statement so that irq controller extension can configure
flow type always including when it's dual edge type.

CRs-fixed: 685146
Change-Id: Ic8aa9e52a217bf12d381aa68464f4d3cbc82d74e
Signed-off-by: default avatarJoonwoo Park <joonwoop@codeaurora.org>
parent 593d5a19
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -659,10 +659,8 @@ static int msm_tlmm_irq_set_type(struct irq_data *d, unsigned int flow_type)
	mb();
	spin_unlock_irqrestore(&ic->irq_lock, irq_flags);

	if ((flow_type & IRQ_TYPE_EDGE_BOTH) != IRQ_TYPE_EDGE_BOTH) {
	if (ic->irq_chip_extn->irq_set_type)
		ic->irq_chip_extn->irq_set_type(d, flow_type);
	}

	return 0;
}