diff options
author | Tarun Kanti DebBarma <[email protected]> | 2012-04-27 19:43:36 +0530 |
---|---|---|
committer | Kevin Hilman <[email protected]> | 2012-05-11 17:08:40 -0700 |
commit | 9c4ed9e6c01e7a8bd9079da8267e1f03cb4761fc (patch) | |
tree | 095e36cbafeb166983c49df34442c4acd020ece9 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | b1a8e3d2d198319e40318563ff80f95605da5a0e (diff) |
gpio/omap: remove suspend/resume callbacks
Both omap_gpio_suspend() and omap_gpio_resume() does programming
of wakeup_en register.
_gpio_rmw(base, bank->regs->wkup_en, 0xffffffff, 0);
_gpio_rmw(base, bank->regs->wkup_en, bank->context.wake_en, 1);
This is redundant in omap_gpio_suspend() because wakeup_en
register automatically gets initialized in _set_gpio_wakeup()
and set_gpio_trigger() while being called either from
chip.irq_set_wake() or chip.irq_set_type().
This is also redundant in omap_gpio_resume() because wakeup_en
register is programmed in omap_gpio_restore_context() called
which is called from runtime resume callback.
Cc: Kevin Hilman <[email protected]>
Cc: Tony Lindgren <[email protected]>
Cc: Santosh Shilimkar <[email protected]>
Cc: Cousson, Benoit <[email protected]>
Cc: Grant Likely <[email protected]>
Signed-off-by: Tarun Kanti DebBarma <[email protected]>
Reviewed-by: Santosh Shilimkar <[email protected]>
Tested-by: Govindraj.R <[email protected]>
Signed-off-by: Kevin Hilman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions