kernel_samsung_a53x/kernel/power
Panchajanya1999 82413308e6 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>
Signed-off-by: Panchajanya1999 <kernel@panchajanya.dev>
(cherry picked from commit c721867bf4dc2e2c316b2623ad97a28382af2c8c)
(cherry picked from commit a5e999ea4df99f91b7b5aa5bab5b39123587424f)
2024-11-19 18:06:07 +01:00
..
autosleep.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
console.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
energy_model.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hibernate.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
main.c PM / freezer: Reduce freeze timeout to 1 second for Android 2024-11-19 18:05:37 +01:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
power.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
poweroff.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
process.c PM / freezer: Reduce freeze timeout to 1 second for Android 2024-11-19 18:05:37 +01:00
qos.c qos: Don't allow userspace to impose restrictions on CPU idle levels 2024-11-19 18:05:02 +01:00
snapshot.c PM: hibernate: Clean up sync_read handling in snapshot_write_next() 2024-11-18 11:43:24 +01:00
suspend.c PM: suspend: Set mem_sleep_current during kernel command line setup 2024-11-19 09:22:17 +01:00
suspend_test.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
swap.c PM: hibernate: Enforce ordering during image compression/decompression 2024-11-18 12:12:55 +01:00
user.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wakelock.c power/wakelock: Add a timeout to wakelocks globally 2024-11-19 18:06:07 +01:00
wakeup_reason.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00