]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: sdio: workaround firmware UART pin configuration bug
authorWen Gong <wgong@codeaurora.org>
Fri, 19 Apr 2019 07:28:45 +0000 (10:28 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 23 Apr 2019 13:23:16 +0000 (16:23 +0300)
commit4ba16a76d8cb95f7e7c70375d9453a2664f254c6
treeb6171230b727a23013cb826e3a339e85925d28d0
parenta8e2665666a2beea9262297fb3ae3f7915646d00
ath10k: sdio: workaround firmware UART pin configuration bug

On QCA6174 SDIO devices the SDIO interrupt will fail if UART is
disabled from ath10k. SDIO firmware enables UART printouts by
default. If ath10k will try to enable UART again the firmware
will configure it's GPIO line incorrectly and SDIO interrupts
won't work anymore. The workaround is to set UART pin again (19
for QCA6174 SDIO) if uart_print is 0.

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/hw.h