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

Commit f53dfad8 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: qcom: qmi: Return EPROBE_DEFER if no address family"

parents c704b6fc af8d3f53
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -674,8 +674,12 @@ int qmi_handle_init(struct qmi_handle *qmi, size_t recv_buf_size,

	qmi->sock = qmi_sock_create(qmi, &qmi->sq);
	if (IS_ERR(qmi->sock)) {
		if (PTR_ERR(qmi->sock) == -EAFNOSUPPORT) {
			ret = -EPROBE_DEFER;
		} else {
			pr_err("failed to create QMI socket\n");
			ret = PTR_ERR(qmi->sock);
		}
		goto err_destroy_wq;
	}