mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-01-28 13:18:23 +00:00
init.power: remove duplicate operations
This change disabled ability of msm_thermal driver to hot-plug CPUs Change-Id: I37b1edb8ee9b5de02d55b595a4a710b513dd07e8
This commit is contained in:
@@ -45,6 +45,7 @@ on init
|
||||
|
||||
# disable thermal hotplug for thermal
|
||||
write /sys/module/msm_thermal/core_control/enabled 0
|
||||
|
||||
# bring back all cores
|
||||
write /sys/devices/system/cpu/cpu0/online 1
|
||||
write /sys/devices/system/cpu/cpu1/online 1
|
||||
|
||||
@@ -13,22 +13,6 @@ function copy() {
|
||||
|
||||
################################################################################
|
||||
|
||||
# disable thermal hotplug to switch governor
|
||||
write /sys/module/msm_thermal/core_control/enabled 0
|
||||
|
||||
# bring back main cores CPU 0,4
|
||||
write /sys/devices/system/cpu/cpu0/online 1
|
||||
write /sys/devices/system/cpu/cpu4/online 1
|
||||
|
||||
# configure governor settings for little cluster
|
||||
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor "sched"
|
||||
|
||||
# configure governor settings for big cluster
|
||||
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor "sched"
|
||||
|
||||
# re-enable thermal hotplug
|
||||
write /sys/module/msm_thermal/core_control/enabled 1
|
||||
|
||||
# Enable bus-dcvs
|
||||
for cpubw in /sys/class/devfreq/*qcom,cpubw*
|
||||
do
|
||||
|
||||
Reference in New Issue
Block a user