Commit 60b18b9a authored by Tarun Kanti DebBarma's avatar Tarun Kanti DebBarma Committed by Linus Walleij

gpio/omap: remove extra context restores in *_runtime_resume()

68942edb (gpio/omap: fix wakeups
on level-triggered GPIOs) already restores the fallingdetect and
risingdetect contexts in *_runtime_resume(). These registers were
modified in *_runtime_suspend() to include even those configured
as level-triggered since only edge-triggered gpios can generate
wakeup events. Therefore, the old context restores of the same
registers present later in the code is not needed any more.
Remove them.
Signed-off-by: default avatarTarun Kanti DebBarma <>
Signed-off-by: default avatarJon Hunter <>
Acked-by: default avatarSantosh Shilimkar <>
Reviewed-by: default avatarKevin Hilman <>
Signed-off-by: Linus Walleij's avatarLinus Walleij <>
parent 879fe324
......@@ -1292,10 +1292,6 @@ static int omap_gpio_runtime_resume(struct device *dev)
return 0;
bank->base + bank->regs->fallingdetect);
bank->base + bank->regs->risingdetect);
l = __raw_readl(bank->base + bank->regs->datain);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment