ath10k: change swap mail box config for UTF mode of SDIO
authorWen Gong <wgong@codeaurora.org>
Wed, 10 Apr 2019 04:30:54 +0000 (12:30 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 7 May 2019 13:56:30 +0000 (16:56 +0300)
commit8cdee1affe9000df55558fb1cd407b510f7406a6
tree68bd7c486e7b385ab71bca2f39c1d25b4ba733c8
parent9280f4fc06f44d0b4dc9e831f72d97b3d7cd35d3
ath10k: change swap mail box config for UTF mode of SDIO

For SDIO chip, it does not have HTT connect step in boot phase of UTF
mode, so it does not need the swap configuration for UTF mode, otherwise
it will trigger UTF load fail. For normal mode, it is swap between HTT
and WMI, for UTF mode, it does not have HTT, so it can not swap between
HTT and WMI.

Disable swap mail box for UTF mode will let UTF mode load success.

Tested with QCA6174 SDIO with firmware
WLAN.RMH.4.4.1-00007-QCARMSWP-1.

Signed-off-by: Wen Gong <wgong@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/sdio.c