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