Revert "qcacld-3.0: Idle shutdown in suspend prepare"

This reverts Change-Id: Id1f5172a7fc1792c83c8c1c20127de815f7e4980
to avoid deadlock between cnss_pm_notify and unregister_pm_notifier
during soft driver unload.

Change-Id: Ic82db9dc0ca9d6686df99926335af27abc61cdb5
CRs-Fixed: 3266366
This commit is contained in:
Aditya Kodukula
2022-08-12 15:11:59 -07:00
committed by Madan Koyyalamudi
父節點 143859f245
當前提交 2b0915517c
共有 4 個文件被更改,包括 3 次插入62 次删除

查看文件

@@ -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 - Shutdown wlan 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")

查看文件

@@ -175,7 +175,7 @@ enum powersave_mode {
* @PMO_SUSPEND_NONE: Does not support suspend
* @PMO_SUSPEND_LEGENCY: Legency PDEV suspend mode
* @PMO_SUSPEND_WOW: WoW suspend mode
* @PMO_SUSPEND_SHUTDOWN: Shutdown suspend mode. Shutdown while suspend
* @PMO_SUSPEND_SHUTDOWN: shutdown while suspend mode
*/
enum pmo_suspend_mode {
PMO_SUSPEND_NONE = 0,