From 33fed0a1906a829d6c09c9926a2e5a5e41d66d18 Mon Sep 17 00:00:00 2001 From: Karthik Gopalan Date: Thu, 13 Dec 2018 18:21:02 +0530 Subject: [PATCH] sdm660-common: post_boot: msm8937: Disable core_ctl for 8917 core_ctl's enable & disable nodes are differnt on different kernel versions. Fix Disabling of core_ctl for msm8917. CRs-Fixed: 2366575 Change-Id: Ide7fc5384b34e9e686fe686f9fd70aaaaffcc278 --- rootdir/bin/init.qcom.post_boot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootdir/bin/init.qcom.post_boot.sh b/rootdir/bin/init.qcom.post_boot.sh index c1bc94dd..870bae22 100755 --- a/rootdir/bin/init.qcom.post_boot.sh +++ b/rootdir/bin/init.qcom.post_boot.sh @@ -2017,7 +2017,7 @@ case "$target" in echo 0 > /proc/sys/kernel/sched_boost # core_ctl is not needed for 8917. Disable it. - echo 1 > /sys/devices/system/cpu/cpu0/core_ctl/disable + disable_core_ctl for devfreq_gov in /sys/class/devfreq/qcom,mincpubw*/governor do