diff options
author | Wei Wang <wvw@google.com> | 2016-06-27 12:14:31 -0700 |
---|---|---|
committer | dd3boh <dade.garberi@gmail.com> | 2017-10-31 12:34:43 +0100 |
commit | 0c5db97497a0efe7f8ab84ca72d8b406385b71ef (patch) | |
tree | 56e3625ca105087b8228ad43bcec538e9bd8658f /rootdir/etc/init.qcom.power.rc | |
parent | 255dbd61b9bf55a2acff6afc8c8fc39537eb18f3 (diff) |
z2_plus: Remove BCL hotplug disable/enable from init
BCL hotplug is disabled in DTS already
This patch should resolve risk of racing condition of store hotplug mask
Bug: 29547080
Change-Id: I4ccbda943095d6d8bb02c140d7cedebd85ae9710
Diffstat (limited to 'rootdir/etc/init.qcom.power.rc')
-rwxr-xr-x | rootdir/etc/init.qcom.power.rc | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/rootdir/etc/init.qcom.power.rc b/rootdir/etc/init.qcom.power.rc index 2e3e6fc..c5f4036 100755 --- a/rootdir/etc/init.qcom.power.rc +++ b/rootdir/etc/init.qcom.power.rc @@ -19,12 +19,8 @@ on boot write /proc/sys/kernel/sched_boost 1 on enable-low-power - # Disable thermal bcl hotplug to switch governor + # Disable thermal hotplug to switch governor write /sys/module/msm_thermal/core_control/enabled 0 - write /sys/devices/soc/soc:qcom,bcl/mode "disable" - write /sys/devices/soc/soc:qcom,bcl/hotplug_mask 0 - write /sys/devices/soc/soc:qcom,bcl/hotplug_soc_mask 0 - write /sys/devices/soc/soc:qcom,bcl/mode "enable" # Enable Adaptive LMK write /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk 1 @@ -68,12 +64,8 @@ on enable-low-power write /sys/devices/system/cpu/cpu2/cpufreq/interactive/ignore_hispeed_on_notif 1 write /sys/devices/system/cpu/cpu2/cpufreq/interactive/enable_prediction 1 - # Re-enable thermal and BCL hotplug + # Re-enable thermal hotplug write /sys/module/msm_thermal/core_control/enabled 1 - write /sys/devices/soc/soc:qcom,bcl/mode "disable" - write /sys/devices/soc/soc:qcom,bcl/hotplug_mask 12 - write /sys/devices/soc/soc:qcom,bcl/hotplug_soc_mask 8 - write /sys/devices/soc/soc:qcom,bcl/mode "enable" # Input boost configuration write /sys/module/cpu_boost/parameters/input_boost_freq "0:1324800 2:1324800" |