mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
qcacld-3.0: In resume sequence mark runtime resume as success properly
Currently runtime resume is marked as success after kicking HTC queues, due to this non PM marked WMI commands are not sent out properly. Fix this by marking runtime resume as success before kicking HTC queues, since resume is set as success as part of HTC kick queues WMI commands will be sent out properly. Change-Id: I5e3f98cbc5888bdf83f760b055c9b706c18737ef CRs-Fixed: 2899609
This commit is contained in:
parent
4b966d127d
commit
048b699a11
1 changed files with 2 additions and 2 deletions
|
|
@ -1284,6 +1284,8 @@ QDF_STATUS pmo_core_psoc_bus_runtime_resume(struct wlan_objmgr_psoc *psoc,
|
|||
if (status != QDF_STATUS_SUCCESS)
|
||||
goto fail;
|
||||
|
||||
hif_process_runtime_resume_success(hif_ctx);
|
||||
|
||||
if (htc_runtime_resume(htc_ctx)) {
|
||||
status = QDF_STATUS_E_FAILURE;
|
||||
goto fail;
|
||||
|
|
@ -1293,8 +1295,6 @@ QDF_STATUS pmo_core_psoc_bus_runtime_resume(struct wlan_objmgr_psoc *psoc,
|
|||
if (status != QDF_STATUS_SUCCESS)
|
||||
goto fail;
|
||||
|
||||
hif_process_runtime_resume_success(hif_ctx);
|
||||
|
||||
fail:
|
||||
if (status != QDF_STATUS_SUCCESS)
|
||||
qdf_trigger_self_recovery(psoc, QDF_RESUME_TIMEOUT);
|
||||
|
|
|
|||
Loading…
Reference in a new issue