From 1a2f48a7756672e04236ccbc2827d17562e4dc62 Mon Sep 17 00:00:00 2001 From: phadiman Date: Wed, 10 Oct 2018 15:53:03 +0530 Subject: [PATCH] qcacmn: Set WMI endpoint as async WMI endpoint will receive commands from both user context and kernel context Hence making the it as asynchronous Change-Id: Ia969bb9db6a8978a7f50bc19f9f602dfbc1c83ea CRs-Fixed: 2313262 --- wmi/src/wmi_unified.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wmi/src/wmi_unified.c b/wmi/src/wmi_unified.c index fb51ce0d950a..71c6feff38ea 100644 --- a/wmi/src/wmi_unified.c +++ b/wmi/src/wmi_unified.c @@ -2803,6 +2803,8 @@ static int wmi_connect_pdev_htc_service(struct wmi_soc *soc, return status; } + htc_set_async_ep(soc->htc_handle, response.Endpoint, 1); + soc->wmi_endpoint_id[pdev_idx] = response.Endpoint; soc->max_msg_len[pdev_idx] = response.MaxMsgLength;