View | Details | Raw Unified | Return to bug 197953 | Differences between
and this patch

Collapse All | Expand All

(-)a/drivers/pinctrl/intel/pinctrl-cherryview.c (+6 lines)
Lines 1601-1606 static int chv_gpio_probe(struct chv_pinctrl *pctrl, int irq) Link Here
1601
			clear_bit(i, chip->irq.valid_mask);
1601
			clear_bit(i, chip->irq.valid_mask);
1602
	}
1602
	}
1603
1603
1604
	/*
1605
	 * Mask all interrupts the community is able to generate but leave
1606
	 * the ones that can only generate GPEs unmasked.
1607
	 */
1608
	chv_writel(~(BIT(community->nirqs) - 1), pctrl->regs + CHV_INTMASK);
1609
1604
	/* Clear all interrupts */
1610
	/* Clear all interrupts */
1605
	chv_writel(0xffff, pctrl->regs + CHV_INTSTAT);
1611
	chv_writel(0xffff, pctrl->regs + CHV_INTSTAT);
1606
1612

Return to bug 197953