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

Commit 63d0d695 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: service-notifier: update state after queuing notification"

parents 11a858f7 0029f6a8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -334,7 +334,6 @@ static int send_notif_listener_msg_req(struct service_notif_info *service_notif,
		pr_err("Invalid notif info 0x%x\n", resp.curr_state);
		rc = -EINVAL;
	}
	service_notif->curr_state = resp.curr_state;
	*curr_state = resp.curr_state;
	return rc;
}
@@ -528,6 +527,7 @@ static void *add_service_notif(const char *service_path, int instance_id,
					kfree(service_notif);
					return ERR_PTR(rc);
				}
				service_notif->curr_state = *curr_state;
			}
			mutex_unlock(&qmi_list_lock);
			goto add_service_list;