diff options
author | Lee Jones <lee.jones@linaro.org> | 2013-02-25 14:28:59 +0000 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2013-03-07 12:35:51 +0800 |
commit | aee2b8468caf3d1eed6e329e828bc09eaa61063a (patch) | |
tree | 85a025145aa08b9071b93061e53165d7b2c82980 /block/blk-merge.c | |
parent | f4095a0f06476e5914f2c58b4e96258b2e2ba6b7 (diff) |
pm2301-charger: Add pm_runtime_resume & pm_runtime_suspend
To optimize the current consumption we use pm_runtime autosuspend
functions which execute the pm_runtime_suspend after a delay of
inactivity on the other hand we use pm_runtime_resume every time
we receive an interruption to wake up the pm2301.
Signed-off-by: M BenZoubeir <mustapha.ben.zoubeir-xsig@stericsson.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
Diffstat (limited to 'block/blk-merge.c')
0 files changed, 0 insertions, 0 deletions