From c0b9c9d4a9f75bd1d0694608b102e6fdf13b1b74 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Mon, 8 Mar 2010 20:34:40 +0000 Subject: jz4740-gpio: Fix potential race condition SVN-Revision: 20071 --- target/linux/xburst/files-2.6.32/arch/mips/jz4740/gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3