OSDN Git Service

Revert "soc: qcom: Listen to SUBSYS_AFTER_SHUTDOWN notification"
authorPuja Gupta <pujag@codeaurora.org>
Mon, 17 Oct 2016 18:50:47 +0000 (11:50 -0700)
committerPuja Gupta <pujag@codeaurora.org>
Mon, 17 Oct 2016 20:58:52 +0000 (13:58 -0700)
Revert commit 238f87868dc7 ("soc: qcom: Listen to
SUBSYS_AFTER_SHUTDOWN notification").

SUBSYS_AFTER_SHUTDOWN notification is late for subsystem as they
are not able to communicate with firmware.

CRs-Fixed: 1078743
Change-Id: I61b308dce7e92b0e28033750885eac4a003dc01a
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
drivers/soc/qcom/service-notifier.c

index 504a326..9527241 100644 (file)
@@ -462,7 +462,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_AFTER_SHUTDOWN:
+       case    SUBSYS_BEFORE_SHUTDOWN:
                pr_debug("Root PD DOWN(SSR notification), crashed?%d\n",
                                                notif->crashed);
                if (notif->crashed)