ath10k: don't reset chip on power_down
authorMichal Kazior <michal.kazior@tieto.com>
Tue, 28 Oct 2014 09:32:08 +0000 (10:32 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 31 Oct 2014 00:27:14 +0000 (02:27 +0200)
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>
drivers/net/wireless/ath/ath10k/pci.c

index 117e14d..63f374e 100644 (file)
@@ -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