Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 893a668e authored by David Brownell's avatar David Brownell Committed by Tony Lindgren
Browse files

ARM: OMAP: Remove Remove superfluous/recursive locking for GPIO



Remove Remove superfluous/recursive locking for GPIO

Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 14188b3a
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;
}