/* Disable an expio pin's interrupt by setting the bit in the imr.  */
static void expio_mask_irq(uint32_t irq)
/* Disable an expio pin's interrupt by setting the bit in the imr.  */
static void expio_mask_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);
}