diff options
author | Mayuresh Kulkarni <mkulkarni@nvidia.com> | 2010-02-20 13:31:13 +0530 |
---|---|---|
committer | Gary King <gking@nvidia.com> | 2010-02-22 11:41:14 -0800 |
commit | 8fba90b4d4f400af56cf9f2e998d0562f087fcd9 (patch) | |
tree | be9b78b4ede81cf2d87a9f72300365b442a46254 /drivers/ata/sata_nv.c | |
parent | 3f3eefc8ac980eb3fc71aea68f0572de696c5192 (diff) |
tegra pm: implement suspend_ops
We implement suspend_ops->valid, suspend_ops->begin,
suspend_ops->enter and suspend_ops->end.
For suspend_ops->begin :
Check if CPU1 is in reset or not.
If not, reset it and maintain this state.
For suspend_ops->end :
Check if CPU1 was reseted by suspend_ops->begin.
If yes, take it out of reset.
For harmony board, add a timed wake lock as a WAR.
For suspend_ops->enter :
Do a odm query for lowest power state.
Call the appropriate low power state (LP1/LP0)
routine based on SOC type.
Change-Id: I6f4be75978573bba94e95723c023abc091e06d1e
Diffstat (limited to 'drivers/ata/sata_nv.c')
0 files changed, 0 insertions, 0 deletions