summaryrefslogtreecommitdiff
path: root/power/qcom.c
diff options
context:
space:
mode:
Diffstat (limited to 'power/qcom.c')
-rw-r--r--power/qcom.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/power/qcom.c b/power/qcom.c
index d931e6bb29..107bdcb04d 100644
--- a/power/qcom.c
+++ b/power/qcom.c
@@ -824,6 +824,14 @@ void chipset_force_shutdown(enum chipset_shutdown_reason reason)
task_wake(TASK_ID_CHIPSET);
}
+void chipset_power_on(void)
+{
+ if (chipset_in_state(CHIPSET_STATE_ANY_OFF)) {
+ power_request = POWER_REQ_ON;
+ task_wake(TASK_ID_CHIPSET);
+ }
+}
+
/**
* Warm reset the AP
*