diff options
author | Doug Anderson <dianders@chromium.org> | 2013-08-27 11:24:52 -0700 |
---|---|---|
committer | Caroline Tice <cmtice@chromium.org> | 2013-08-29 22:51:07 +0000 |
commit | fcd388df8eef2f723cb4ff7277fa44d3754bb966 (patch) | |
tree | afb12f46bd03b1c37d75a674a17cda9a7d2d5852 /include/link_defs.h | |
parent | a795b1ffe05a7c7f41f66783b711c332dd92bfb0 (diff) | |
download | chrome-ec-fcd388df8eef2f723cb4ff7277fa44d3754bb966.tar.gz |
pit: Move suspend/resume hook callbacks to a deferred task
Putting the suspend/resume hook callbacks on a deferred task allows
frequency change notifications to lock mutexes. This is useful in a
future change which locks the i2c bus around frequency changes.
BRANCH=pit
BUG=chrome-os-partner:22093
TEST=With all patches together:
- on AP: suspend_stress_test
- on EC: battery 10000 50
Change-Id: If5e31040cdc7c95a4c8ba62ee72512cb79617cc9
Signed-off-by: Doug Anderson <dianders@chromium.org>
Previous-Reviewed-on: https://chromium-review.googlesource.com/167100
(cherry picked from commit ce31fda8695f4db1fa91f5bb224c781cf17f91c0)
Reviewed-on: https://chromium-review.googlesource.com/167147
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'include/link_defs.h')
0 files changed, 0 insertions, 0 deletions