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
Bu işleme şunda yer alıyor:

işlemeyi yapan:
Madan Koyyalamudi

ebeveyn
3fbdeb8f84
işleme
6b2b1cfb27
@@ -369,16 +369,6 @@ enum pld_driver_mode {
|
||||
PLD_FTM_COLDBOOT_CALIBRATION = 10
|
||||
};
|
||||
|
||||
/**
|
||||
* enum pld_suspend_mode - WLAN suspend mode
|
||||
* @PLD_SUSPEND: suspend
|
||||
* @PLD_FULL_POWER_DOWN: full power down while suspend
|
||||
*/
|
||||
enum pld_suspend_mode {
|
||||
PLD_SUSPEND,
|
||||
PLD_FULL_POWER_DOWN,
|
||||
};
|
||||
|
||||
/**
|
||||
* struct pld_device_version - WLAN device version info
|
||||
* @family_number: family number of WLAN SOC HW
|
||||
@@ -572,33 +562,6 @@ void pld_deinit(void);
|
||||
*/
|
||||
int pld_set_mode(u8 mode);
|
||||
|
||||
#ifdef FEATURE_WLAN_FULL_POWER_DOWN_SUPPORT
|
||||
/**
|
||||
* pld_set_suspend_mode() - set suspend mode in PLD module
|
||||
* @mode: pld suspend mode
|
||||
*
|
||||
* Return: 0 for success
|
||||
* Non zero failure code for errors
|
||||
*/
|
||||
int pld_set_suspend_mode(enum pld_suspend_mode mode);
|
||||
/**
|
||||
* pld_is_full_power_down_enable() - check full power down is enabled or not
|
||||
*
|
||||
* Return: true if full power down is enabled else false
|
||||
*/
|
||||
bool pld_is_full_power_down_enable(void);
|
||||
#else
|
||||
static inline int pld_set_suspend_mode(enum pld_suspend_mode mode)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline bool pld_is_full_power_down_enable(void)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
int pld_register_driver(struct pld_driver_ops *ops);
|
||||
void pld_unregister_driver(void);
|
||||
|
||||
|
Yeni konuda referans
Bir kullanıcı engelle