mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacld-3.0: Fix 32 bit host arch wlan crash during load
Currently during IPA pipes connect host is passing size of each TX completion ring size as 4 bytes instead of 8 bytes which is expected by IPA driver. Reason is host passes size of each ring as size of dma_addr_t which is 4 bytes for 32 bit host architecture where as bus addresses are of 8 bytes on MAC and IPA. Fix this by passing the size which is correct and expected by the IPA driver. Change-Id: Ib081a3819d3a5e4f7ac61606d5ecb9aa5f3242c8 CRs-Fixed: 2037661
This commit is contained in:
parent
0fa8ee06b3
commit
4e82af92a9
1 changed files with 1 additions and 1 deletions
|
|
@ -3003,7 +3003,7 @@ QDF_STATUS hdd_ipa_uc_ol_init(hdd_context_t *hdd_ctx)
|
|||
/* IPA requires total byte counts of Tx comp ring */
|
||||
pipe_in.u.dl.comp_ring_size =
|
||||
ipa_ctxt->ipa_resource.tx_comp_ring_size *
|
||||
sizeof(qdf_dma_addr_t);
|
||||
sizeof(target_paddr_t);
|
||||
pipe_in.u.dl.ce_ring_base_pa =
|
||||
ipa_ctxt->ipa_resource.ce_sr_base_paddr;
|
||||
pipe_in.u.dl.ce_door_bell_pa = ipa_ctxt->ipa_resource.ce_reg_paddr;
|
||||
|
|
|
|||
Loading…
Reference in a new issue