qcacld-3.0: Release wakelock when psoc idle timer is stopped
Currently, wakelock with timeout is acquired when psoc idle timer is started to prevent suspend but it is not released when psoc idle timer is stopped. So, in scenarios where wlan is turned off/on frequently, psoc idle timer will be started and wakelock with timeout will be acquired as part of wlan off but after wlan is turned on suspend will not be allowed until wakelock timeout occurs as wakelock is not released when psoc idle timer is stopped. To allow suspend after wlan is turned on, release wakelock which was acquired as part of wlan off in psoc idle timer start. Change-Id: I85ad9ce4ae9618a88601295d2194b4033be88c2d CRs-Fixed: 3578872 (cherry picked from commit 38060e5e)
Loading
Please register or sign in to comment