Revert "qcacld-3.0: Add the Full Power Down feature support"

This reverts commit I293647175c151da0fd6628345f98ea65c83b1bb3.

New solution idle shutdown in suspend prepare is better.

Change-Id: I69a0e7401c811e4a9656fcc8e3dd069f4317cc35
CRs-Fixed: 3213236
This commit is contained in:
Yu Ouyang
2022-06-05 22:03:45 +08:00
committed by Madan Koyyalamudi
parent 3fbdeb8f84
commit 6b2b1cfb27
13 changed files with 8 additions and 213 deletions

View File

@@ -340,14 +340,13 @@
* <ini>
* gSuspendMode - Suspend mode configuration
* @Min: 0
* @Max: 3
* @Max: 2
* @Default: 2
*
* This ini is used to set suspend mode. Configurations are as follows:
* 0 - Does not support suspend.
* 1 - Legency suspend mode, PDEV suspend.
* 2 - WOW suspend mode.
* 3 - Full power down while suspend.
*
* Related: None
*
@@ -358,7 +357,7 @@
* </ini>
*/
#define CFG_PMO_SUSPEND_MODE CFG_INI_UINT("gSuspendMode", \
0, 3, 2, \
0, 2, 2, \
CFG_VALUE_OR_DEFAULT, \
"Suspend mode")

View File

@@ -175,13 +175,11 @@ enum powersave_mode {
* @PMO_SUSPEND_NONE: Does not support suspend
* @PMO_SUSPEND_LEGENCY: Legency PDEV suspend mode
* @PMO_SUSPEND_WOW: WoW suspend mode
* @PMO_FULL_POWER_DOWN: Full power down while suspend
*/
enum pmo_suspend_mode {
PMO_SUSPEND_NONE = 0,
PMO_SUSPEND_LEGENCY,
PMO_SUSPEND_WOW,
PMO_FULL_POWER_DOWN
PMO_SUSPEND_WOW
};
#define PMO_TARGET_SUSPEND_TIMEOUT (4000)