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

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

Merge "drivers: irqchip: qcom-pdc: Do not set spi type during alloc"

parents 4c3edaf4 e8b8c824
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -358,13 +358,6 @@ static int qcom_pdc_gpio_alloc(struct irq_domain *domain, unsigned int virq,

	qcom_fwspec->mask = true;

	/* Additionally, configure GPIO PDC in the f/w */
	if (domain->host_data) {
		ret = spi_configure_type(parent_hwirq, type);
		if (ret)
			return ret;
	}

	if (type & IRQ_TYPE_EDGE_BOTH)
		type = IRQ_TYPE_EDGE_RISING;