soc: qcom: Listen to SUBSYS_AFTER_SHUTDOWN notification
When the subsytem goes down through SSR path, listen for SUBSYS_AFTER_SHUTDOWN and then send out ROOT_PD down notification to service notifier clients. ROOT_PD down is supposed to indicate that service is already down. Change-Id: I916e37bd79a6645bdc186a78a65051ce1c4dd475 Signed-off-by: Puja Gupta <pujag@codeaurora.org>
This commit is contained in:
parent
4b91c1a0f7
commit
238f87868d
1 changed files with 1 additions and 1 deletions
|
@ -459,7 +459,7 @@ static int ssr_event_notify(struct notifier_block *this,
|
|||
struct qmi_client_info, ssr_notifier);
|
||||
struct notif_data *notif = data;
|
||||
switch (code) {
|
||||
case SUBSYS_BEFORE_SHUTDOWN:
|
||||
case SUBSYS_AFTER_SHUTDOWN:
|
||||
pr_debug("Root PD DOWN(SSR notification), crashed?%d\n",
|
||||
notif->crashed);
|
||||
if (notif->crashed)
|
||||
|
|
Loading…
Add table
Reference in a new issue