From 289f273fe47a816c0434ef5f3fe69f86e061738e Mon Sep 17 00:00:00 2001 From: Davide Garberi Date: Wed, 10 Apr 2019 19:45:26 +0200 Subject: msm8996-common: rootdir: Decommonize some ramdisk props * To prevent a log spam due to missing files to write to Change-Id: I8e972a2d73018734be835d89062ffeb1b27a9d07 --- rootdir/etc/init.qcom.power.rc | 13 ------------- rootdir/etc/init.qcom.rc | 1 + 2 files changed, 1 insertion(+), 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" diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index fd63704..2b4e5f8 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -28,6 +28,7 @@ import /vendor/etc/init/hw/init.msm.usb.configfs.rc import /vendor/etc/init/hw/init.qcom.power.rc import /vendor/etc/init/hw/init.qcom.usb.rc +import /vendor/etc/init/init.zuk.rc on early-init mount debugfs debugfs /sys/kernel/debug -- cgit v1.2.3