Merge tag 'armsoc-arm64' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[cascardo/linux.git] / drivers / irqchip / irq-tegra.c
index 50be963..e902f08 100644 (file)
@@ -235,7 +235,7 @@ static int tegra_ictlr_domain_translate(struct irq_domain *d,
                        return -EINVAL;
 
                *hwirq = fwspec->param[1];
-               *type = fwspec->param[2];
+               *type = fwspec->param[2] & IRQ_TYPE_SENSE_MASK;
                return 0;
        }