aboutsummaryrefslogtreecommitdiff
path: root/rootdir/etc/init.qcom.power.rc
diff options
context:
space:
mode:
Diffstat (limited to 'rootdir/etc/init.qcom.power.rc')
-rw-r--r--rootdir/etc/init.qcom.power.rc13
1 files changed, 0 insertions, 13 deletions
diff --git a/rootdir/etc/init.qcom.power.rc b/rootdir/etc/init.qcom.power.rc
index 0dc9603..12dccd5 100644
--- a/rootdir/etc/init.qcom.power.rc
+++ b/rootdir/etc/init.qcom.power.rc
@@ -26,10 +26,6 @@
#
on init
- # Disable UFS powersaving
- write /sys/devices/soc/${ro.boot.bootdevice}/clkscale_enable 0
- write /sys/devices/soc/${ro.boot.bootdevice}/clkgate_enable 0
- write /sys/devices/soc/${ro.boot.bootdevice}/${ro.boot.bootdevice}:ufs_variant/pm_qos_enable 0
write /sys/module/lpm_levels/parameters/sleep_disabled "Y"
# Drop write bit from cpu_max_freq so that libqti-perfd can't set it
@@ -57,10 +53,6 @@ on boot
on charger
wait /dev/block/platform/soc/${ro.boot.bootdevice}
- # Enable UFS powersaving
- write /sys/devices/soc/${ro.boot.bootdevice}/clkscale_enable 1
- write /sys/devices/soc/${ro.boot.bootdevice}/clkgate_enable 1
- write /sys/devices/soc/${ro.boot.bootdevice}/${ro.boot.bootdevice}:ufs_variant/pm_qos_enable 1
write /sys/module/lpm_levels/parameters/sleep_disabled "N"
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor "userspace"
@@ -162,11 +154,6 @@ on enable-low-power
write /sys/class/devfreq/soc:qcom,memlat-cpu2/polling_interval 10
write /sys/class/devfreq/soc:qcom,mincpubw/governor "cpufreq"
- # Enable UFS powersaving
- write /sys/devices/soc/${ro.boot.bootdevice}/clkscale_enable 1
- write /sys/devices/soc/${ro.boot.bootdevice}/clkgate_enable 1
- write /sys/devices/soc/${ro.boot.bootdevice}/${ro.boot.bootdevice}:ufs_variant/pm_qos_enable 1
-
# Enable all LPMs (this will enable C4, D4, D3, E4 and M3 LPMs)
write /sys/module/lpm_levels/parameters/sleep_disabled "N"