On 2020-09-07 15:28, Kalle Valo wrote:
Anilkumar Kolli <akolli@xxxxxxxxxxxxxx> writes:
No functional changes, added target ce service configurations to
hw_params.
Signed-off-by: Anilkumar Kolli <akolli@xxxxxxxxxxxxxx>
[...]
--- a/drivers/net/wireless/ath/ath11k/core.c
+++ b/drivers/net/wireless/ath/ath11k/core.c
@@ -812,12 +812,6 @@ int ath11k_core_init(struct ath11k_base *ab)
return ret;
}
- ret = ath11k_init_hw_params(ab);
- if (ret) {
- ath11k_err(ab, "failed to get hw params %d\n", ret);
- return ret;
- }
This is very suspicious.
ath11k_core_pre_init() is calling ath11k_init_hw_params(), again calling
same function in ath11k_core_init()
is not needed. Will send this as a new patch ?
Thanks
Anil