mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
qcacmn: Add a new wakelock for idle shutdown
Add a new wakelock for idle shutdown in order to prevent suspend from occurring during idle shutdown. Change-Id: Ia0c7422d3a12e7ff27d5acf9f57a81be13e5ef7d CRs-Fixed: 2706461
This commit is contained in:
parent
c6d4cbfd1a
commit
778b28eb4a
1 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2014-2019 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2014-2020 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
|
|
@ -898,6 +898,7 @@ enum wifi_connectivity_events {
|
|||
* @WIFI_POWER_EVENT_WAKELOCK_IFACE_CHANGE_TIMER: iface change timer running
|
||||
* @WIFI_POWER_EVENT_WAKELOCK_MONITOR_MODE: Montitor mode wakelock
|
||||
* @WIFI_POWER_EVENT_WAKELOCK_DRIVER_IDLE_RESTART: Wakelock for Idle Restart
|
||||
* @WIFI_POWER_EVENT_WAKELOCK_DRIVER_IDLE_SHUTDOWN: Wakelock for Idle Shutdown
|
||||
*
|
||||
* Indicates the reason for which the wakelock was taken/released
|
||||
*/
|
||||
|
|
@ -925,6 +926,7 @@ enum wake_lock_reason {
|
|||
WIFI_POWER_EVENT_WAKELOCK_IFACE_CHANGE_TIMER,
|
||||
WIFI_POWER_EVENT_WAKELOCK_MONITOR_MODE,
|
||||
WIFI_POWER_EVENT_WAKELOCK_DRIVER_IDLE_RESTART,
|
||||
WIFI_POWER_EVENT_WAKELOCK_DRIVER_IDLE_SHUTDOWN,
|
||||
};
|
||||
|
||||
/* The length of interface name should >= IFNAMSIZ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue