]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ath10k: update the IRAM bank number for QCA9377
authorRyan Hsu <ryanhsu@codeaurora.org>
Fri, 9 Feb 2018 00:20:31 +0000 (16:20 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 27 Feb 2018 16:44:38 +0000 (18:44 +0200)
Preparation for a new QCA9377 firmware release. The new firmware release
requires more IRAM banks, hence update that on ath10k.

The IRAM banks promotion won't break any backwards compatibility, as those IRAM
banks were not getting used in previous firmware releases.

Signed-off-by: Ryan Hsu <ryanhsu@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/pci.c

index 1b266cd0c2ec086bd76eae5ffe2bce66a9c6a4a4..808f3d67ba908d52a23c456ef333614895ce28ea 100644 (file)
@@ -2221,7 +2221,7 @@ static int ath10k_pci_get_num_banks(struct ath10k *ar)
                }
                break;
        case QCA9377_1_0_DEVICE_ID:
-               return 4;
+               return 9;
        }
 
        ath10k_warn(ar, "unknown number of banks, assuming 1\n");