[kernel] fix the building of the lzo decompressor on some architectures
[openwrt.git] / target / linux / xburst / files-2.6.32 / arch / mips / jz4740 / gpio.c
index df5df5c..8a99f4d 100644 (file)
@@ -312,8 +312,8 @@ static unsigned int jz_gpio_irq_startup(unsigned int irq)
 
        jz_gpio_set_irq_bit(irq, JZ_REG_GPIO_SELECT_SET);
 
-       jz_gpio_irq_unmask(irq);
        desc->status &= ~IRQ_MASKED;
+       jz_gpio_irq_unmask(irq);
 
        return 0;
 }
This page took 0.023138 seconds and 4 git commands to generate.