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

SPI type is set in spi configure registers during irq_set_type.
Do not set type before alloc is done at parent GIC.

Change-Id: Idc23be422a2ed756a00b086560f697bb44f3666c
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
This commit is contained in:
Maulik Shah 2019-07-05 19:10:41 +05:30
parent f0d6c03242
commit e8b8c82494

View File

@ -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;