mirror of
https://github.com/LineageOS/android_kernel_samsung_msm8226.git
synced 2026-09-29 00:00:25 +02:00
There has been handful of corner cases where a driver would call wake_lock very late in the suspend sequence but the suspend proceeds anyways and causes issues. Add code to BUG if a driver grabs a wakelock after suspend_noirq callbacks are called, this will aid in correct wakelock usage for new drivers and give us callstacks for misbehaving drivers. Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>