Sfoglia il codice sorgente

qcacmn: Fix RUNTIME_PM wrt. runtime_pm_delay

Refer to runtime_pm_delay inside the config_info structure.
The member was moved inside a config_info structure to cleanup
hif_softc.

Change-Id: I45b54ef2323eb635bb110ece381d5c806a0a4627
CRs-Fixed: 1035562
Houston Hoffman 8 anni fa
parent
commit
4ede3494a7
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      hif/src/pcie/if_pci.c

+ 2 - 2
hif/src/pcie/if_pci.c

@@ -1128,9 +1128,9 @@ static void hif_pm_runtime_start(struct hif_pci_softc *sc)
 			(unsigned long)sc);
 
 	HIF_INFO("%s: Enabling RUNTIME PM, Delay: %d ms", __func__,
-			ol_sc->runtime_pm_delay);
+			ol_sc->hif_config.runtime_pm_delay);
 
-	cnss_runtime_init(sc->dev, ol_sc->runtime_pm_delay);
+	cnss_runtime_init(sc->dev, ol_sc->hif_config.runtime_pm_delay);
 	qdf_atomic_set(&sc->pm_state, HIF_PM_RUNTIME_STATE_ON);
 	hif_runtime_pm_debugfs_create(sc);
 }