diff options
author | Wang Dongsheng <dongsheng.wang@freescale.com> | 2014-04-25 05:28:18 (GMT) |
---|---|---|
committer | Jose Rivera <German.Rivera@freescale.com> | 2014-04-29 14:11:25 (GMT) |
commit | acf2570649581aa9b12a1afcb73215c439ab33c8 (patch) | |
tree | 538b6977aa5b63d5d9046d3e90929f3f08eefe9f /mm/mprotect.c | |
parent | 22642f20535811b5bf40a3f3323fd4e5719a162d (diff) | |
download | linux-fsl-qoriq-acf2570649581aa9b12a1afcb73215c439ab33c8.tar.xz |
fsl/pm: add api to get suspend state which is STANDBY or MEM
Add set_pm_suspend_state & pm_suspend_state functions to set/get
suspend state. When system going to sleep or deep sleep, devices
can get the system suspend state(STANDBY/MEM) through pm_suspend_state
function and to handle different situations.
Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>
Change-Id: Ibd369079f6f0777854d88d7e1af21f455eaf909e
Reviewed-on: http://git.am.freescale.net:8181/11530
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Yang Li <LeoLi@freescale.com>
Reviewed-by: Jose Rivera <German.Rivera@freescale.com>
Diffstat (limited to 'mm/mprotect.c')
0 files changed, 0 insertions, 0 deletions