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

Commit 240bddf7 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: Acquire mutex before checking for service"

parents cfb87a7e f90fbfe1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -605,8 +605,8 @@ void *service_notif_register_notifier(const char *service_path, int instance_id,
	if (!service_path || !instance_id || !nb)
		return ERR_PTR(-EINVAL);

	service_notif = _find_service_info(service_path);
	mutex_lock(&notif_add_lock);
	service_notif = _find_service_info(service_path);
	if (!service_notif) {
		service_notif = (struct service_notif_info *)add_service_notif(
								service_path,