qcacld-3.0: Fix wrong use of Runtime get API inplace of Runtime put
Wrong use of runtime get results in mismatch in runtime pm usage count. Hence fix it by calling runtime put API instead of get API. Change-Id: I89dfcd2d1ad980df47f2244c9fcac5a68ac27d71 CRs-Fixed: 1072520
This commit is contained in:
@@ -165,7 +165,7 @@ void htt_t2h_lp_msg_handler(void *context, qdf_nbuf_t htt_t2h_msg,
|
|||||||
switch (msg_type) {
|
switch (msg_type) {
|
||||||
case HTT_T2H_MSG_TYPE_VERSION_CONF:
|
case HTT_T2H_MSG_TYPE_VERSION_CONF:
|
||||||
{
|
{
|
||||||
htc_pm_runtime_get(pdev->htc_pdev);
|
htc_pm_runtime_put(pdev->htc_pdev);
|
||||||
pdev->tgt_ver.major = HTT_VER_CONF_MAJOR_GET(*msg_word);
|
pdev->tgt_ver.major = HTT_VER_CONF_MAJOR_GET(*msg_word);
|
||||||
pdev->tgt_ver.minor = HTT_VER_CONF_MINOR_GET(*msg_word);
|
pdev->tgt_ver.minor = HTT_VER_CONF_MINOR_GET(*msg_word);
|
||||||
qdf_print
|
qdf_print
|
||||||
|
Reference in New Issue
Block a user