qcacmn: Do RTPM put during cleanup when HTT ver resp is not received
For HTT h2t message which has a response from FW, runtime get is done in HTC layer and the corresponding runtime_put is done as part of the HTT response processing. In a scenario where the HTT response is not received from FW or not processed by host, runtime_put is not done as part of cleanup and panic is triggered due to get/put imbalance. Fix is to do RTPM put as part of htc cleanup when the HTT response from FW is not received or processed. Change-Id: I17ccb7c3e2293c95f5f233d36c6ef38a75733cce CRs-Fixed: 2779113
Tento commit je obsažen v:

odevzdal
snandini

rodič
3213f64df6
revize
478749a365
@@ -260,6 +260,10 @@ typedef struct _HTC_TARGET {
|
||||
/* flag to enable packet send debug */
|
||||
bool htc_pkt_dbg;
|
||||
|
||||
#ifdef FEATURE_RUNTIME_PM
|
||||
/* Runtime count for H2T msg with response */
|
||||
qdf_atomic_t htc_runtime_cnt;
|
||||
#endif
|
||||
} HTC_TARGET;
|
||||
|
||||
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele