ath11k: ce: get msi_addr and msi_data before srng setup
authorCarl Huang <cjhuang@codeaurora.org>
Mon, 17 Aug 2020 10:31:50 +0000 (13:31 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 18 Aug 2020 09:44:33 +0000 (12:44 +0300)
commit1a05ed37c513f63c8a56698df3f5fb54c682af12
tree2f8680f624c9fe33e73f7075e2b55d85a7bbdd5d
parent7cea7c5b0e7b3012c0e4e340292f7624b1dad402
ath11k: ce: get msi_addr and msi_data before srng setup

Move function to get msi_addr and msi_data before srng setup,
otherwise srng is setup with no MSI configuration.

Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1
Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.1.0.1-01238-QCAHKSWPL_SILICONZ-2

Signed-off-by: Carl Huang <cjhuang@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1597576599-8857-8-git-send-email-kvalo@codeaurora.org
drivers/net/wireless/ath/ath11k/ce.c