icnss2: Don't clear LP on subsystem AFTER SHUTDOWN Event
As per Hibernate Entry (i.e. SUBSYS_BEFORE_SHUTDOWN with flag crashed is not set) and based on low power supports it set the state to ICNSS_LOW_POWER. While processing the SUBSYS_AFTER_SHUTDOWN, its reset the ICNSS_LOW_POWER state based on previous state already set state and low power supported. But before system freeze callback triggered, SUBSYS_AFTER_SHUTDOWN event received to wlan and due to which ICNSS_LOW_POWER state is clear and freeze callback failed, thus its leads to prevent Hibernate freeze on WLAN. This fix is to provides WLAN entered into Hibernate freeze state by not clearing ICNSS_LOW_POWER state in SUBSYS_AFTER_SHUTDOWN. Change-Id: I7b34d54c7ce5314e5092dbe2c0bc65ffe13d014d CRs-Fixed: 3394501
此提交包含在:
提交者
Gerrit - the friendly Code Review server
父節點
26e2742f2f
當前提交
8e0ff47179
@@ -2187,9 +2187,6 @@ static int icnss_modem_notifier_nb(struct notifier_block *nb,
|
||||
icnss_msa0_ramdump(priv);
|
||||
}
|
||||
|
||||
if (test_bit(ICNSS_LOW_POWER, &priv->state) &&
|
||||
priv->low_power_support)
|
||||
clear_bit(ICNSS_LOW_POWER, &priv->state);
|
||||
goto out;
|
||||
default:
|
||||
goto out;
|
||||
|
新增問題並參考
封鎖使用者