• Wen Gong's avatar
    ath10k: sdio: workaround firmware UART pin configuration bug · 4504f0e5
    Wen Gong authored
    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: default avatarWen Gong <wgong@codeaurora.org>
    Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
    4504f0e5
core.c 83.1 KB