Re: [PATCH v2 02/12] ath11k: allocate dst ring descriptors from cacheable memory
From: Peter Oh <hidden>
Date: 2021-08-25 18:46:12
Also in:
ath11k
From: Peter Oh <hidden>
Date: 2021-08-25 18:46:12
Also in:
ath11k
On 8/25/21 2:37 AM, P Praneesh wrote:
@@ -292,6 +315,11 @@ int ath11k_dp_srng_setup(struct ath11k_base *ab, struct dp_srng *ring, return -EINVAL; } + if (cached && ab->hw_params.alloc_cacheable_memory) { + params.flags |= HAL_SRNG_FLAGS_CACHED; + ring->cached = 1; + }
"&& ab->hw_params.alloc_cacheable_memory" is redundant check. Thanks, Peter