Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c011b281 authored by Michal Kazior's avatar Michal Kazior Committed by Kalle Valo
Browse files

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: default avatarMichal Kazior <michal.kazior@tieto.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 0bc14d06
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -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_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
#ifdef CONFIG_PM