diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2006-09-25 11:41:41 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2006-09-25 11:41:41 +0200 |
commit | 893a668ee2a0bd28fbeb639ae97dd60ec8b7db66 (patch) | |
tree | 66a28ef544594d273d96ca5f527d8196ac9065a8 /arch | |
parent | ARM: OMAP: Fix spinlock recursion for dyntick (diff) | |
download | linux-893a668ee2a0bd28fbeb639ae97dd60ec8b7db66.tar.xz linux-893a668ee2a0bd28fbeb639ae97dd60ec8b7db66.zip |
ARM: OMAP: Remove Remove superfluous/recursive locking for GPIO
Remove Remove superfluous/recursive locking for GPIO
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch')
-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) if (check_gpio(gpio) < 0) return -ENODEV; bank = get_gpio_bank(gpio); - spin_lock(&bank->lock); retval = _set_gpio_wakeup(bank, get_gpio_index(gpio), enable); - spin_unlock(&bank->lock); return retval; } |