diff mbox

ath10k: update the IRAM banks number for QCA9377

Message ID 1518135631-29796-1-git-send-email-ryanhsu@codeaurora.org (mailing list archive)
State Accepted
Commit fc8b92635f79cfc4dd3015384bebafada0b08f19
Delegated to: Kalle Valo
Headers show

Commit Message

Ryan Hsu Feb. 9, 2018, 12:20 a.m. UTC
From: Ryan Hsu <ryanhsu@codeaurora.org>

QCA9377 firmware update the IRAM banks from 4 to 9.

Signed-off-by: Ryan Hsu <ryanhsu@codeaurora.org>
---
 drivers/net/wireless/ath/ath10k/pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kalle Valo Feb. 9, 2018, 9:41 a.m. UTC | #1
ryanhsu@codeaurora.org writes:

> From: Ryan Hsu <ryanhsu@codeaurora.org>
>
> QCA9377 firmware update the IRAM banks from 4 to 9.
>
> Signed-off-by: Ryan Hsu <ryanhsu@codeaurora.org>

As we discussed offline, I'll update the commit log to this:

ath10k: update the IRAM bank number for QCA9377

Prepared for new QCA9377 firmware support. With the new
firmware update, it required more IRAM banks, hence updated it.

The IRAM banks promotion won't break any backward compatibility,
as those IRAM banks were not getting used in previous firmware.
Kalle Valo Feb. 27, 2018, 4:44 p.m. UTC | #2
ryanhsu@codeaurora.org wrote:

> 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>

Patch applied to ath-next branch of ath.git, thanks.

fc8b92635f79 ath10k: update the IRAM bank number for QCA9377
diff mbox

Patch

diff --git a/drivers/net/wireless/ath/ath10k/pci.c b/drivers/net/wireless/ath/ath10k/pci.c
index 355db6a..0c1029c 100644
--- a/drivers/net/wireless/ath/ath10k/pci.c
+++ b/drivers/net/wireless/ath/ath10k/pci.c
@@ -2216,7 +2216,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");