diff options
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/plat-omap/gpio.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c index 96d754833704..21d38098c73d 100644 --- a/arch/arm/plat-omap/gpio.c +++ b/arch/arm/plat-omap/gpio.c | |||
@@ -680,9 +680,7 @@ static int gpio_wake_enable(unsigned int irq, unsigned int enable) | |||
680 | if (check_gpio(gpio) < 0) | 680 | if (check_gpio(gpio) < 0) |
681 | return -ENODEV; | 681 | return -ENODEV; |
682 | bank = get_gpio_bank(gpio); | 682 | bank = get_gpio_bank(gpio); |
683 | spin_lock(&bank->lock); | ||
684 | retval = _set_gpio_wakeup(bank, get_gpio_index(gpio), enable); | 683 | retval = _set_gpio_wakeup(bank, get_gpio_index(gpio), enable); |
685 | spin_unlock(&bank->lock); | ||
686 | 684 | ||
687 | return retval; | 685 | return retval; |
688 | } | 686 | } |