diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2006-09-25 12:41:41 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2006-09-25 12:41:41 +0300 |
commit | 893a668ee2a0bd28fbeb639ae97dd60ec8b7db66 (patch) | |
tree | 66a28ef544594d273d96ca5f527d8196ac9065a8 /arch/arm/plat-omap | |
parent | 14188b3a4cbffd317ac65434750481d2ee14e09e (diff) | |
download | kernel_samsung_espresso10-893a668ee2a0bd28fbeb639ae97dd60ec8b7db66.zip kernel_samsung_espresso10-893a668ee2a0bd28fbeb639ae97dd60ec8b7db66.tar.gz kernel_samsung_espresso10-893a668ee2a0bd28fbeb639ae97dd60ec8b7db66.tar.bz2 |
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')
-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 96d7548..21d3809 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; } |