commit | 153aed3300bb8b2ce3f0fb61e210b332aab50926 | [log] [tgz] |
---|---|---|
author | Ruchira Ravoori <ravoorir@google.com> | Wed Jan 22 20:31:40 2020 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Wed Jan 22 20:31:40 2020 +0000 |
tree | 3fd9a29a6477a41c32b6c3cc803ea762c8441c9f | |
parent | 25bdf119720af8c31506ace144f669a92770a2ab [diff] |
[FDF] Get the correct suspend reason Currently many clients use suspend flags(parallel to system power states) to issue system wide suspend. Previously these flags were passed on directly to drivers using the old suspend hooks. The new suspend hooks, take in a device power state and a suspend reason as inputs. The new suspend/resume will keep drivers agnostic of various system power states and will help us have as many of system power states per board without changing the drivers. "Suspend reason" compared to System power states, are limited and constant for all boards, and are meant to give context to few bus/system drivers like ACPI on the reason, so that they can take an appropriate action and issue proper syscall. This change fixes the way flags were converted to suspend reason. Bug:44122 Test: runtests -t ddk-power-test Change-Id: I1c460b8c1d0252db961a5aa4b9717bf494f86a39
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See fuchsia.dev.