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

Commit 59c27ef2 authored by Manoj Prabhu B's avatar Manoj Prabhu B
Browse files

memshare: Modify the qmi response buffer size



Unavailability of enough buffer is causing task starvation while
sending memory free qmi response. Modify the buffer size of the
qmi free response to prevent encoding failures and thus task
starvation.

Change-Id: I2086f6fac66465ac3dba6339d6390d5d39698404
Signed-off-by: default avatarManoj Prabhu B <bmanoj@codeaurora.org>
parent c2719049
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -601,7 +601,7 @@ static void handle_free_generic_req(struct qmi_handle *handle,
	mutex_unlock(&memsh_drv->mem_free);
	rc = qmi_send_response(mem_share_svc_handle, sq, txn,
			  MEM_FREE_GENERIC_RESP_MSG_V01,
			  sizeof(struct mem_free_generic_resp_msg_v01),
			  MEM_FREE_REQ_MAX_MSG_LEN_V01,
			  mem_free_generic_resp_msg_data_v01_ei, &free_resp);
	if (rc < 0)
		dev_err(memsh_child->dev,