mirror of
https://github.com/openwrt/openwrt.git
synced 2025-04-15 23:17:09 +00:00
jz4740-gpio: Fix potential race condition
SVN-Revision: 20071
This commit is contained in:
parent
94f764a9d6
commit
c0b9c9d4a9
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user