|
@@ -3071,9 +3071,6 @@ static int ath10k_pci_probe(struct pci_dev *pdev,
|
|
|
goto err_sleep;
|
|
|
}
|
|
|
|
|
|
- ath10k_pci_ce_deinit(ar);
|
|
|
- ath10k_pci_irq_disable(ar);
|
|
|
-
|
|
|
if (ar_pci->pci_ps == 0) {
|
|
|
ret = ath10k_pci_force_wake(ar);
|
|
|
if (ret) {
|
|
@@ -3082,6 +3079,9 @@ static int ath10k_pci_probe(struct pci_dev *pdev,
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ ath10k_pci_ce_deinit(ar);
|
|
|
+ ath10k_pci_irq_disable(ar);
|
|
|
+
|
|
|
ret = ath10k_pci_init_irq(ar);
|
|
|
if (ret) {
|
|
|
ath10k_err(ar, "failed to init irqs: %d\n", ret);
|