mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacld-3.0: Wait for reg work completion before EP access state transistion
Currently intermediate EP vote access is set without checking for previous state and reg work handler completion. In some of the error scenarios when resume is triggered from suspend path, EP vote access is still enabled and work handler will be scheduled for register updates. So make sure reg work is completed before setting intermediate access. Change-Id: I7a1e55c188b9a9e85309dd44ac03651181499674 CRs-Fixed: 2994039
This commit is contained in:
parent
7dcd9caaa1
commit
3ed15b23a6
1 changed files with 2 additions and 3 deletions
|
|
@ -1346,9 +1346,8 @@ QDF_STATUS pmo_core_psoc_send_host_wakeup_ind_to_fw(
|
|||
pmo_enter();
|
||||
|
||||
hif_ctx = pmo_core_psoc_get_hif_handle(psoc);
|
||||
hif_set_ep_vote_access(hif_ctx,
|
||||
HIF_EP_VOTE_NONDP_ACCESS,
|
||||
HIF_EP_VOTE_INTERMEDIATE_ACCESS);
|
||||
|
||||
hif_set_ep_intermediate_vote_access(hif_ctx);
|
||||
|
||||
qdf_event_reset(&psoc_ctx->wow.target_resume);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue