aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/gpio.c
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2006-09-25 05:41:41 -0400
committerTony Lindgren <tony@atomide.com>2006-09-25 05:41:41 -0400
commit893a668ee2a0bd28fbeb639ae97dd60ec8b7db66 (patch)
tree66a28ef544594d273d96ca5f527d8196ac9065a8 /arch/arm/plat-omap/gpio.c
parent14188b3a4cbffd317ac65434750481d2ee14e09e (diff)
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/arm/plat-omap/gpio.c')
-rw-r--r--arch/arm/plat-omap/gpio.c2
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}