ath10k: override CE5 config for QCA9377
authorBartosz Markowski <bartosz.markowski@tieto.com>
Thu, 15 Dec 2016 09:23:22 +0000 (11:23 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 29 Dec 2016 13:17:28 +0000 (15:17 +0200)
Similarly to QCA6174, QCA9377 requires the CE5 configuration to be
available for other feature. Use the ath10k_pci_override_ce_config()
for it as well.

This is required for TF2.0 firmware. Previous FW revisions were
working fine without this patch.

Fixes: a70587b3389a ("ath10k: configure copy engine 5 for HTT messages")
Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/pci.c

index 983f65b..8536700 100644 (file)
@@ -3132,7 +3132,7 @@ int ath10k_pci_setup_resource(struct ath10k *ar)
        setup_timer(&ar_pci->rx_post_retry, ath10k_pci_rx_replenish_retry,
                    (unsigned long)ar);
 
-       if (QCA_REV_6174(ar))
+       if (QCA_REV_6174(ar) || QCA_REV_9377(ar))
                ath10k_pci_override_ce_config(ar);
 
        ret = ath10k_pci_alloc_pipes(ar);