qcacmn: Increment htc runtime cnt prior to hif_send_head

HTC runtime count is incremented after posting the HTT
ver req message to CE4. There could be possibility of
processing the ver response message from FW even before
htc_runtime_cnt is incremented. This can casue RTPM put
to not happen causing imbalance in get/put count.

Fix is to increment htc_runtime_cnt before enqueuing
the HTT message to CE.

Change-Id: Ib9b69910cd14193c41ecfee804b390f8a6cdef49
CRs-Fixed: 2794451
This commit is contained in:
Yeshwanth Sriram Guntuka
2020-10-12 13:07:33 +05:30
committed by snandini
부모 5da344f9b7
커밋 b2fa2a1dbd
3개의 변경된 파일9개의 추가작업 그리고 4개의 파일을 삭제

파일 보기

@@ -194,6 +194,8 @@ struct htt_soc {
struct {
int htc_err_cnt;
int htc_pkt_free;
/* rtpm put skip count for ver req msg */
int htt_ver_req_put_skip;
} stats;
HTT_TX_MUTEX_TYPE htt_tx_mutex;