android_kernel_xiaomi_sm7250/kernel/power
Panchajanya1999 c6683b8636 power/wakelock: Add a timeout to wakelocks globally
Few wakelocks tends to get stuck for no reason. Blocking them
isn't necessary and sometimes blocking them breaks basic
functionality.
Wakelocks like "tx_swr_ctrl" tends to get stuck if we keep earphones
connected and drops battery massively.

Test: Keep earphones plugged in and leave device for few hours
Expected result: No "tx_swr_ctrl" is being stuck.
Actual result: Patch is working as expected.

Change-Id: I5296990a84ab44cf6e449d6535b8b99408c415c8
Signed-off-by: Panchajanya1999 <panchajanya@azure-dev.live>
2022-11-12 11:19:51 +00:00
..
autosleep.c
console.c
energy_model.c
hibernate.c PM: hibernate: Allow hybrid sleep to work with s2idle 2022-11-03 23:52:31 +09:00
Kconfig
main.c
Makefile
power.h
poweroff.c
process.c
qos.c Merge tag 'ASB-2021-09-05_4.19-stable' of https://github.com/aosp-mirror/kernel_common into android12-base 2022-02-26 20:07:41 +05:30
snapshot.c UPSTREAM: PM: hibernate: fix crashes with init_on_free=1 2020-11-16 09:22:34 +01:00
suspend_test.c PM: suspend: fix return value of __setup handler 2022-04-15 14:14:43 +02:00
suspend.c
swap.c PM: hibernate: fix sparse warnings 2021-11-26 11:36:10 +01:00
user.c PM: hibernate: defer device probing when resuming from hibernation 2022-08-25 11:15:00 +02:00
wakelock.c power/wakelock: Add a timeout to wakelocks globally 2022-11-12 11:19:51 +00:00
wakeup_reason.c