projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aed9529
)
ath11k: ahb: call ath11k_core_init() before irq configuration
author
Anilkumar Kolli
<akolli@codeaurora.org>
Tue, 16 Jun 2020 14:00:44 +0000
(17:00 +0300)
committer
Kalle Valo
<kvalo@codeaurora.org>
Tue, 23 Jun 2020 07:51:34 +0000
(10:51 +0300)
This is needed to init .max_radios in hw_params and onfigure external
interrupts for available pdev_ids.
Compile tested only.
Signed-off-by: Anilkumar Kolli <akolli@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link:
https://lore.kernel.org/r/1592316055-24958-2-git-send-email-kvalo@codeaurora.org
drivers/net/wireless/ath/ath11k/ahb.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath11k/ahb.c
b/drivers/net/wireless/ath/ath11k/ahb.c
index 30092841ac4640c99a019dbfdca570d42e6f987a..2ea6da7682ce11e7423f1c48b373589b64b845bc 100644
(file)
--- a/
drivers/net/wireless/ath/ath11k/ahb.c
+++ b/
drivers/net/wireless/ath/ath11k/ahb.c
@@
-951,15
+951,15
@@
static int ath11k_ahb_probe(struct platform_device *pdev)
ath11k_ahb_init_qmi_ce_config(ab);
- ret = ath11k_
ahb_config_irq
(ab);
+ ret = ath11k_
core_init
(ab);
if (ret) {
- ath11k_err(ab, "failed to
configure irq
: %d\n", ret);
+ ath11k_err(ab, "failed to
init core
: %d\n", ret);
goto err_ce_free;
}
- ret = ath11k_
core_init
(ab);
+ ret = ath11k_
ahb_config_irq
(ab);
if (ret) {
- ath11k_err(ab, "failed to
init core
: %d\n", ret);
+ ath11k_err(ab, "failed to
configure irq
: %d\n", ret);
goto err_ce_free;
}