Loading drivers/soc/qcom/icnss.c +8 −6 Original line number Diff line number Diff line Loading @@ -1462,12 +1462,11 @@ static int icnss_modem_notifier_nb(struct notifier_block *nb, notif->crashed == CRASH_STATUS_ERR_FATAL) { icnss_pr_info("Collecting msa0 segment dump\n"); icnss_msa0_ramdump(priv); return NOTIFY_OK; goto out; } if (code != SUBSYS_BEFORE_SHUTDOWN) return NOTIFY_OK; goto out; priv->is_ssr = true; Loading @@ -1483,7 +1482,7 @@ static int icnss_modem_notifier_nb(struct notifier_block *nb, ICNSS_UEVENT_FW_DOWN, &fw_down_data); } return NOTIFY_OK; goto out; } icnss_pr_info("Modem went down, state: 0x%lx, crashed: %d\n", Loading @@ -1500,8 +1499,10 @@ static int icnss_modem_notifier_nb(struct notifier_block *nb, event_data = kzalloc(sizeof(*event_data), GFP_KERNEL); if (event_data == NULL) if (event_data == NULL) { icnss_pr_vdbg("Exit %s, event_data is NULL\n", __func__); return notifier_from_errno(-ENOMEM); } event_data->crashed = notif->crashed; Loading @@ -1513,7 +1514,8 @@ static int icnss_modem_notifier_nb(struct notifier_block *nb, } icnss_driver_event_post(ICNSS_DRIVER_EVENT_PD_SERVICE_DOWN, ICNSS_EVENT_SYNC, event_data); out: icnss_pr_vdbg("Exit %s,state: 0x%lx\n", __func__, priv->state); return NOTIFY_OK; } Loading Loading
drivers/soc/qcom/icnss.c +8 −6 Original line number Diff line number Diff line Loading @@ -1462,12 +1462,11 @@ static int icnss_modem_notifier_nb(struct notifier_block *nb, notif->crashed == CRASH_STATUS_ERR_FATAL) { icnss_pr_info("Collecting msa0 segment dump\n"); icnss_msa0_ramdump(priv); return NOTIFY_OK; goto out; } if (code != SUBSYS_BEFORE_SHUTDOWN) return NOTIFY_OK; goto out; priv->is_ssr = true; Loading @@ -1483,7 +1482,7 @@ static int icnss_modem_notifier_nb(struct notifier_block *nb, ICNSS_UEVENT_FW_DOWN, &fw_down_data); } return NOTIFY_OK; goto out; } icnss_pr_info("Modem went down, state: 0x%lx, crashed: %d\n", Loading @@ -1500,8 +1499,10 @@ static int icnss_modem_notifier_nb(struct notifier_block *nb, event_data = kzalloc(sizeof(*event_data), GFP_KERNEL); if (event_data == NULL) if (event_data == NULL) { icnss_pr_vdbg("Exit %s, event_data is NULL\n", __func__); return notifier_from_errno(-ENOMEM); } event_data->crashed = notif->crashed; Loading @@ -1513,7 +1514,8 @@ static int icnss_modem_notifier_nb(struct notifier_block *nb, } icnss_driver_event_post(ICNSS_DRIVER_EVENT_PD_SERVICE_DOWN, ICNSS_EVENT_SYNC, event_data); out: icnss_pr_vdbg("Exit %s,state: 0x%lx\n", __func__, priv->state); return NOTIFY_OK; } Loading