mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
ath11k: ahb: call ath11k_core_init() before irq configuration
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
This commit is contained in:
parent
aed9529725
commit
166e22b38a
1 changed files with 6 additions and 6 deletions
|
@ -951,18 +951,18 @@ static int ath11k_ahb_probe(struct platform_device *pdev)
|
|||
|
||||
ath11k_ahb_init_qmi_ce_config(ab);
|
||||
|
||||
ret = ath11k_ahb_config_irq(ab);
|
||||
if (ret) {
|
||||
ath11k_err(ab, "failed to configure irq: %d\n", ret);
|
||||
goto err_ce_free;
|
||||
}
|
||||
|
||||
ret = ath11k_core_init(ab);
|
||||
if (ret) {
|
||||
ath11k_err(ab, "failed to init core: %d\n", ret);
|
||||
goto err_ce_free;
|
||||
}
|
||||
|
||||
ret = ath11k_ahb_config_irq(ab);
|
||||
if (ret) {
|
||||
ath11k_err(ab, "failed to configure irq: %d\n", ret);
|
||||
goto err_ce_free;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
err_ce_free:
|
||||
|
|
Loading…
Add table
Reference in a new issue