Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 95523979 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "esoc: mdm: Reset esoc only if the system is resetting"

parents 5c4618ce 2634d03a
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -48,9 +48,10 @@ static int esoc_msm_restart_handler(struct notifier_block *nb,
					esoc_restart);
	struct esoc_clink *esoc_clink = mdm_drv->esoc_clink;
	const struct esoc_clink_ops const *clink_ops = esoc_clink->clink_ops;

	if (action == SYS_RESTART) {
		dev_dbg(&esoc_clink->dev, "Notifying esoc of cold reboot\n");
		clink_ops->notify(ESOC_PRIMARY_REBOOT, esoc_clink);
	}
	return NOTIFY_OK;
}
static void mdm_handle_clink_evt(enum esoc_evt evt,