summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAnilkumar Kolli <akolli@codeaurora.org>2020-09-08 13:01:59 +0300
committerKalle Valo <kvalo@codeaurora.org>2020-09-11 12:57:42 +0300
commita9d9e03858ad418c6dc91658b3e9ba936668dffe (patch)
treef26fb2b855b38c96f3f8e17c33f216ef7c88014d /drivers
parentaa2092a9bab3f87c42f9d531b5b2889c6b823658 (diff)
downloadlinux-a9d9e03858ad418c6dc91658b3e9ba936668dffe.tar.xz
ath11k: remove calling ath11k_init_hw_params() second time
During probe ath11k_init_hw_params() is called from ath11k_core_pre_init() and is not needed agian in ath11k_core_init(). Tested on: IPQ8074 hw2.0 AHB WLAN.HK.2.4.0.1-00009-QCAHKSWPL_SILICONZ-1 Fixes: 1ff8ed786d5d (ath11k: use remoteproc only with AHB devices) Signed-off-by: Anilkumar Kolli <akolli@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/010101746d2a40d3-25cd7dbe-c0dd-4fdf-8735-366d7fb40207-000000@us-west-2.amazonses.com
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath/ath11k/core.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/ath/ath11k/core.c b/drivers/net/wireless/ath/ath11k/core.c
index 6761e4b7d974..06c3df6037d5 100644
--- a/drivers/net/wireless/ath/ath11k/core.c
+++ b/drivers/net/wireless/ath/ath11k/core.c
@@ -876,12 +876,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;
- }
-
ret = ath11k_core_soc_create(ab);
if (ret) {
ath11k_err(ab, "failed to create soc core: %d\n", ret);