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
2016-06-28 19:10:48 -07:00
committed by Nandini Suresh
コミット 4ede3494a7

ファイルの表示

@@ -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);
}