commit | ddc150f7a33ae0c9cb16eaac3641abc00f56316f | [log] [tgz] |
---|---|---|
author | Lv Zheng <lv.zheng@intel.com> | Fri Nov 16 02:46:28 2012 +0100 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Fri Nov 16 02:46:28 2012 +0100 |
tree | d1b2cdfee5e7055e1dfa18d4fbb3dc16f22576ee | |
parent | 5133375bb46a0d6c3fba07097caed7aa5e629ccd [diff] |
ACPI / PM: Add check preventing transitioning to non-D0 state from D3. No power transitioning from D3 state up to a non-D0 state is allowed so make acpi_device_set_power() fail and complain if such a transition is attempted. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>