diff options
author | Viresh Kumar <viresh.kumar@st.com> | 2012-01-11 15:25:20 +0530 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2012-02-16 06:37:51 -0700 |
commit | 6e33aceda2d82126e9d08a39e21a15be0dd00a6c (patch) | |
tree | 4ee9e2c3af2307ea4541aaedb794e5b195a6fd03 /arch/x86/platform/uv/tlb_uv.c | |
parent | 864533ceb6db336dead389577c102a8b792a121a (diff) | |
download | blackbird-op-linux-6e33aceda2d82126e9d08a39e21a15be0dd00a6c.tar.gz blackbird-op-linux-6e33aceda2d82126e9d08a39e21a15be0dd00a6c.zip |
gpio/gpio-pl061: No need of thaw and poweroff routines for hibernate
pl061 uses same routines for suspend/freeze/poweroff and resume/thaw/restore.
We are only saving and restoring register values on these routines.
During hibernation, in freeze() we take a snapshot of gpio registers. In thaw()
we don't actually need to restore these registers, as power was never shut down
till now. Similarly, in poweroff() we don't need to take snapshot of these
registers again, as it was done during freeze() and by now the image is already
saved on disk.
This patch passes poweroff() and thaw() routines as NULL to avoid this extra
work done.
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/x86/platform/uv/tlb_uv.c')
0 files changed, 0 insertions, 0 deletions