/* Enable a expio pin's interrupt by clearing the bit in the imr.  */
static void expio_unmask_irq(uint32_t irq)
/* Enable a expio pin's interrupt by clearing the bit in the imr.  */
static void expio_unmask_irq(uint32_t irq)
{
	uint16_t reg;
	uint32_t expio = MXC_IRQ_TO_EXPIO(irq);
	reg = __raw_readw(CPLD_INT_MASK_REG);
	reg &= ~(1 << expio);
	__raw_writew(reg, CPLD_INT_MASK_REG);
}