summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath10k/pci.c
diff options
context:
space:
mode:
authorMichal Kazior <michal.kazior@tieto.com>2014-10-28 09:32:08 (GMT)
committerKalle Valo <kvalo@qca.qualcomm.com>2014-10-31 00:27:14 (GMT)
commitc011b281591bb21e4006200a1f51ec4f67b46a74 (patch)
treef45f4920446e80bd615c4c122a2ac107a0bdda5d /drivers/net/wireless/ath/ath10k/pci.c
parent0bc14d061bd8836eeff956cfbbcb53266af793ef (diff)
downloadlinux-c011b281591bb21e4006200a1f51ec4f67b46a74.tar.xz
ath10k: don't reset chip on power_down
Currently hif_power_up performs effectively a reset and hif_stop resets the chip as well so there's no point in resetting here. Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/pci.c')
-rw-r--r--drivers/net/wireless/ath/ath10k/pci.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/pci.c b/drivers/net/wireless/ath/ath10k/pci.c
index 117e14d..63f374ed 100644
--- a/drivers/net/wireless/ath/ath10k/pci.c
+++ b/drivers/net/wireless/ath/ath10k/pci.c
@@ -1919,7 +1919,9 @@ static void ath10k_pci_hif_power_down(struct ath10k *ar)
{
ath10k_dbg(ar, ATH10K_DBG_BOOT, "boot hif power down\n");
- ath10k_pci_warm_reset(ar);
+ /* Currently hif_power_up performs effectively a reset and hif_stop
+ * resets the chip as well so there's no point in resetting here.
+ */
}
#ifdef CONFIG_PM