diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2010-03-08 20:34:40 +0000 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2010-03-08 20:34:40 +0000 |
commit | c46b878186ed031d0b21ef71d5d9956039ac91c7 (patch) | |
tree | d68cd443d71c1ae10ad60bf7f99e973a306d6d5b /target/linux/xburst/files-2.6.32/arch | |
parent | 6f08e4f46c7d7aa3e577c0a45f376ff16a66036e (diff) | |
download | upstream-c46b878186ed031d0b21ef71d5d9956039ac91c7.tar.gz upstream-c46b878186ed031d0b21ef71d5d9956039ac91c7.tar.bz2 upstream-c46b878186ed031d0b21ef71d5d9956039ac91c7.zip |
[xburst] jz4740-gpio: Fix potential race condition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20071 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/xburst/files-2.6.32/arch')
-rw-r--r-- | target/linux/xburst/files-2.6.32/arch/mips/jz4740/gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/xburst/files-2.6.32/arch/mips/jz4740/gpio.c b/target/linux/xburst/files-2.6.32/arch/mips/jz4740/gpio.c index df5df5cd0b..8a99f4d37b 100644 --- a/target/linux/xburst/files-2.6.32/arch/mips/jz4740/gpio.c +++ b/target/linux/xburst/files-2.6.32/arch/mips/jz4740/gpio.c @@ -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; } |