[PATCH 2/5] gpio/omap: remove extra context restores in *_runtime_resume()
Linus Walleij
linus.walleij at linaro.org
Wed Apr 10 15:34:40 EDT 2013
On Thu, Apr 4, 2013 at 10:16 PM, Jon Hunter <jon-hunter at ti.com> wrote:
> From: Tarun Kanti DebBarma <tarun.kanti at ti.com>
>
> 68942edb09f69b6e09522d1d346665eb3aadde49 (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: Tarun Kanti DebBarma <tarun.kanti at ti.com>
> Signed-off-by: Jon Hunter <jon-hunter at ti.com>
Patch applied unless somebody complains.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list