soc: qcom: qmi_interface: allocate high priority work queue
Some qmi clients have low latency requirement. In high system load, RX flow control bit set on RX DATA and its not consumed by kernel qmi data thread which leads to timeout. Adding high priority flag while allocating qmi work queue. Change-Id: I64ba90777d3337849113ae4163f997bb781fbd40 Signed-off-by: Kishore Kumar Ravi <quic_kiskum@quicinc.com>
This commit is contained in:
parent
2e0090c67c
commit
fbaa6546cd
@ -640,7 +640,7 @@ int qmi_handle_init(struct qmi_handle *qmi, size_t recv_buf_size,
|
||||
if (!qmi->recv_buf)
|
||||
return -ENOMEM;
|
||||
|
||||
qmi->wq = alloc_workqueue("qmi_msg_handler", WQ_UNBOUND, 1);
|
||||
qmi->wq = alloc_workqueue("qmi_msg_handler", WQ_UNBOUND | WQ_HIGHPRI, 1);
|
||||
if (!qmi->wq) {
|
||||
ret = -ENOMEM;
|
||||
goto err_free_recv_buf;
|
||||
|
Loading…
Reference in New Issue
Block a user