aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-omap.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-omap.c')
-rw-r--r--drivers/gpio/gpio-omap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-omap.c b/drivers/gpio/gpio-omap.c
index 3da9d53..41b9a2d 100644
--- a/drivers/gpio/gpio-omap.c
+++ b/drivers/gpio/gpio-omap.c
@@ -1416,7 +1416,7 @@ void omap_gpio_save_context(struct gpio_bank *bank)
bank->context.irqenable2 =
__raw_readl(bank->base + bank->regs->irqenable2);
bank->context.wake_en =
- __raw_readl(bank->base + bank->regs->wkup_status);
+ __raw_readl(bank->base + bank->regs->wkup_set);
bank->context.ctrl = __raw_readl(bank->base + bank->regs->ctrl);
bank->context.oe = __raw_readl(bank->base + bank->regs->direction);
bank->context.leveldetect0 =
@@ -1446,7 +1446,7 @@ void omap_gpio_restore_context(struct gpio_bank *bank)
__raw_writel(bank->context.irqenable2,
bank->base + bank->regs->irqenable2);
__raw_writel(bank->context.wake_en,
- bank->base + bank->regs->wkup_status);
+ bank->base + bank->regs->wkup_set);
__raw_writel(bank->context.ctrl, bank->base + bank->regs->ctrl);
__raw_writel(bank->context.oe, bank->base + bank->regs->direction);
__raw_writel(bank->context.leveldetect0,