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

Commit 955c8e7c 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-locator: Fix error message prints for receiving messages"

parents 8a000dcc a1e51b4b
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -149,11 +149,10 @@ static void service_locator_recv_msg(struct work_struct *work)

	do {
		pr_debug("Notified about a Receive event\n");
		ret = qmi_recv_msg(service_locator.clnt_handle);
		if (ret < 0)
			pr_err("Error receiving message rc:%d. Retrying...\n",
								ret);
	} while (ret == 0);
	} while ((ret = qmi_recv_msg(service_locator.clnt_handle)) == 0);

	if (ret != -ENOMSG)
		pr_err("Error receiving message rc:%d\n", ret);

}