qcacld-3.0: Always enable WoW for RTPM suspend
gSuspendMode is for system suspend to choose between WoW and pdev suspend. For RTPM suspend, should always enable WoW. Change-Id: Ibf95ca79ded73f9c68e14b8dac4ec68d979f9db6 CRs-Fixed: 3047812
This commit is contained in:

committed by
Madan Koyyalamudi

parent
776aef042c
commit
0c0edb5670
@@ -488,8 +488,9 @@ static QDF_STATUS pmo_core_psoc_configure_suspend(struct wlan_objmgr_psoc *psoc,
|
|||||||
if (is_runtime_pm)
|
if (is_runtime_pm)
|
||||||
pmo_core_enable_runtime_pm_offloads(psoc);
|
pmo_core_enable_runtime_pm_offloads(psoc);
|
||||||
|
|
||||||
if (psoc_ctx->psoc_cfg.suspend_mode == PMO_SUSPEND_WOW &&
|
if ((is_runtime_pm) ||
|
||||||
pmo_core_is_wow_applicable(psoc)) {
|
(psoc_ctx->psoc_cfg.suspend_mode == PMO_SUSPEND_WOW &&
|
||||||
|
pmo_core_is_wow_applicable(psoc))) {
|
||||||
pmo_debug("WOW Suspend");
|
pmo_debug("WOW Suspend");
|
||||||
pmo_core_apply_lphb(psoc);
|
pmo_core_apply_lphb(psoc);
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user