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

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

Merge "soc: qcom: sysmon: fix mutex error in in sysmon driver"

parents 90264dbb c4281687
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -659,12 +659,12 @@ int sysmon_notifier_register(struct subsys_desc *desc)
	data->clnt_handle = NULL;
	data->legacy_version = false;

	mutex_lock(&sysmon_list_lock);
	if (data->instance_id <= 0) {
		pr_debug("SSCTL instance id not defined\n");
		goto add_list;
	}

	mutex_lock(&sysmon_list_lock);
	if (sysmon_wq)
		goto notif_register;