diff options
author | Charulatha V <charu@ti.com> | 2011-06-02 15:42:20 +0530 |
---|---|---|
committer | Nishanth Menon <nm@ti.com> | 2011-07-14 11:53:30 -0700 |
commit | fc30dc736ed5abf55aa98b7cd81ed6ae8e09e0af (patch) | |
tree | cce01051f5c7a5fee3edf8001ac876c86f7cfa1d /firmware | |
parent | 7439294dbd871955cf229f955e28e3d287735916 (diff) | |
download | kernel_samsung_tuna-fc30dc736ed5abf55aa98b7cd81ed6ae8e09e0af.zip kernel_samsung_tuna-fc30dc736ed5abf55aa98b7cd81ed6ae8e09e0af.tar.gz kernel_samsung_tuna-fc30dc736ed5abf55aa98b7cd81ed6ae8e09e0af.tar.bz2 |
GPIO: OMAP: Handle save/restore ctx in GPIO driver
Modify omap_gpio_prepare_for_idle() & omap_gpio_resume_after_idle() functions
to handle save context & restore context respectively in the OMAP GPIO driver
itself instead of calling these functions from pm specific files.
For this, in gpio_prepare_for_idle(), call *_get_context_loss_count() and in
gpio_resume_after_idle() call it again. If the count is different, do restore
context. The workaround_enabled flag is no more required and is removed.
Signed-off-by: Charulatha V <charu@ti.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions