aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2011-08-08 20:26:32 -0500
committerNishanth Menon <nm@ti.com>2011-08-29 19:35:13 -0500
commitf5f231c3685c31fdbbd6d91ca540fb4034fb731a (patch)
tree1bf7f9513ac66865987089dbea0e557d155872a8 /drivers/gpio
parent979f2a73961f42ca4767dfcd60b056f68087cfc2 (diff)
downloadkernel_samsung_tuna-f5f231c3685c31fdbbd6d91ca540fb4034fb731a.zip
kernel_samsung_tuna-f5f231c3685c31fdbbd6d91ca540fb4034fb731a.tar.gz
kernel_samsung_tuna-f5f231c3685c31fdbbd6d91ca540fb4034fb731a.tar.bz2
GPIO: OMAP: mark complete once restored
Mark the GPIO bank as restored once restoration is complete. Change-Id: Id4dd1380fade04870beac1b5115f9d15325fbd49 Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-omap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-omap.c b/drivers/gpio/gpio-omap.c
index 5aa0e19..af0c7e2 100644
--- a/drivers/gpio/gpio-omap.c
+++ b/drivers/gpio/gpio-omap.c
@@ -1450,6 +1450,7 @@ void omap_gpio_restore_context(struct gpio_bank *bank)
__raw_writel(bank->context.fallingdetect,
bank->base + bank->regs->fallingdetect);
__raw_writel(bank->context.dataout, bank->base + bank->regs->dataout);
+ bank->saved_context = 0;
}
#endif