mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
qcacld-3.0: completion_freeq_lock needs initialization
Initialization of completion_freeq_lock was removed as part of removing the completion thread. The lock still protects the variable num_sends_allowed for copy engines used for sending. Change-Id: Ia52d2c1b839d2ccfedbd175f1b8f60f953d08203 CRs-Fixed: 951563
This commit is contained in:
parent
c9f2a429a0
commit
6710de643f
1 changed files with 4 additions and 0 deletions
|
|
@ -844,7 +844,11 @@ int hif_completion_thread_startup(struct HIF_CE_state *hif_state)
|
|||
hif_pci_ce_recv_data, pipe_info,
|
||||
attr.flags & CE_ATTR_DISABLE_INTR);
|
||||
}
|
||||
|
||||
if (attr.src_nentries)
|
||||
cdf_spinlock_init(&pipe_info->completion_freeq_lock);
|
||||
}
|
||||
|
||||
A_TARGET_ACCESS_UNLIKELY(scn);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue