summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinit.puma_rk3399.rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.puma_rk3399.rc b/init.puma_rk3399.rc
index 925d08e..3345942 100755
--- a/init.puma_rk3399.rc
+++ b/init.puma_rk3399.rc
@@ -15,5 +15,8 @@ on init
chown root system /sys/class/devfreq/ff9a0000.gpu/max_freq
chmod 0644 /sys/class/devfreq/ff9a0000.gpu/max_freq
+ # Disable suspend modes
+ write /sys/power/wake_lock WAKE_LOCK_SUSPEND
+
on fs
mount_all fstab.${ro.hardware}.bootmode.${ro.bootmode}