Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c947a9e1 authored by Michal Kazior's avatar Michal Kazior Committed by Kalle Valo
Browse files

ath10k: fix legacy irq workaround



Wrong register was being set up. This could
prevent firmware from booting in some rare cases
when using legacy interrupts.

Signed-off-by: default avatarMichal Kazior <michal.kazior@tieto.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 8079de0d
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -2465,7 +2465,8 @@ static int ath10k_pci_wait_for_target_init(struct ath10k *ar)

		if (ar_pci->num_msi_intrs == 0)
			/* Fix potential race by repeating CORE_BASE writes */
			ath10k_pci_soc_write32(ar, PCIE_INTR_ENABLE_ADDRESS,
			ath10k_pci_write32(ar, SOC_CORE_BASE_ADDRESS +
					   PCIE_INTR_ENABLE_ADDRESS,
					   PCIE_INTR_FIRMWARE_MASK |
					   PCIE_INTR_CE_MASK_ALL);