summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath10k/core.c
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vthiagar@codeaurora.org>2019-11-27 18:30:09 +0200
committerKalle Valo <kvalo@codeaurora.org>2019-11-29 09:36:19 +0200
commit051cefa4466744cb669d7eef9399cbf850b2a6d4 (patch)
tree8d4de0b7c81e1cddcd9ca30dabeed41bd606c505 /drivers/net/wireless/ath/ath10k/core.c
parent79c647a3c59ddc1a1acf68e82e555201c10d3c18 (diff)
ath11k: Fix target crash due to WBM_IDLE_LINK ring desc shortage
Make sure the number of WBM_IDLE_LINK ring descriptors is power of 2. This increases the number of descriptors to 32k from the current ~18k to fix the target assert because of the shortage in the descriptors in WBM_IDLE_LINK ring. Remove unnecessary power of 2 calculation in ath11k_dp_link_desc_setup() as it is not required after this change. Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/core.c')
0 files changed, 0 insertions, 0 deletions