[PATCH 1/1][SRU][B][OEM-B]SAUCE: ath10k: provide reset function for QCA9377 chip

AceLan Kao acelan.kao at canonical.com
Thu Nov 29 06:02:11 UTC 2018


BugLink: https://bugs.launchpad.net/bugs/1805607

The reset function helps with the S5 power consumption, make the power
consumption reduce from 0.52W to 0.23W at S5.

Signed-off-by: AceLan Kao <acelan.kao at canonical.com>
---
 drivers/net/wireless/ath/ath10k/pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath10k/pci.c b/drivers/net/wireless/ath/ath10k/pci.c
index e9c316274ee0..b4b88708a288 100644
--- a/drivers/net/wireless/ath/ath10k/pci.c
+++ b/drivers/net/wireless/ath/ath10k/pci.c
@@ -3254,7 +3254,7 @@ static int ath10k_pci_probe(struct pci_dev *pdev,
 	case QCA9377_1_0_DEVICE_ID:
 		hw_rev = ATH10K_HW_QCA9377;
 		pci_ps = true;
-		pci_soft_reset = NULL;
+		pci_soft_reset = ath10k_pci_warm_reset;
 		pci_hard_reset = ath10k_pci_qca6174_chip_reset;
 		targ_cpu_to_ce_addr = ath10k_pci_qca988x_targ_cpu_to_ce_addr;
 		break;
-- 
2.17.1




More information about the kernel-team mailing list