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 | c0b9c9d4a9f75bd1d0694608b102e6fdf13b1b74 (patch) | |
tree | 3b1eaf8217a07d8f457d0d301d183bf8318808ca /target | |
parent | 94f764a9d679d8c63c6765d037d1c4f2a3cb0fbd (diff) | |
download | mtk-20170518-c0b9c9d4a9f75bd1d0694608b102e6fdf13b1b74.zip mtk-20170518-c0b9c9d4a9f75bd1d0694608b102e6fdf13b1b74.tar.gz mtk-20170518-c0b9c9d4a9f75bd1d0694608b102e6fdf13b1b74.tar.bz2 |
jz4740-gpio: Fix potential race condition
SVN-Revision: 20071
Diffstat (limited to 'target')
-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 df5df5c..8a99f4d 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; } |