diff options
author | Puja Gupta <pujag@codeaurora.org> | 2016-09-10 20:28:28 -0700 |
---|---|---|
committer | Puja Gupta <pujag@codeaurora.org> | 2016-09-13 18:43:40 -0700 |
commit | d7532eb42e7b73e1b67b5be20a9fd3106cab263d (patch) | |
tree | c2a0ecbe44f1645321c99825ad56c492881306a8 /include/soc/qcom | |
parent | 9b82a4c5896632b62140d1ddda55638fea254007 (diff) |
soc: qcom: Add subsys state with service notifier notification
Propagate subsystem state received from SSR notification back to the
service notifier clients so they can know if subsystem crashed.
CRs-Fixed: 1066446
Change-Id: I5418d298290623ac66a2b64108a1f5dab034e5f3
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
Diffstat (limited to 'include/soc/qcom')
-rw-r--r-- | include/soc/qcom/service-notifier.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/soc/qcom/service-notifier.h b/include/soc/qcom/service-notifier.h index 598c91f7c9e2..eae879786d59 100644 --- a/include/soc/qcom/service-notifier.h +++ b/include/soc/qcom/service-notifier.h @@ -24,6 +24,11 @@ enum qmi_servreg_notif_service_state_enum_type_v01 { SERVREG_NOTIF_SERVICE_STATE_UNINIT_V01 = 0x7FFFFFFF, }; +enum pd_subsys_state { + CRASHED, + SHUTDOWN, + UNKNOWN, +}; #if defined(CONFIG_MSM_SERVICE_NOTIFIER) /* service_notif_register_notifier() - Register a notifier for a service |