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:
Komal Seelam
2016-09-28 18:20:08 +05:30
committed by qcabuildsw
parent 4d8acdd693
commit af61ccdcb1

View File

@@ -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