sdm845-common: rootdir: drop boot-time toggle on clkscale_enable

Clock scaling has been disabled in kernel to avoid workqueue
overheads.

ref: "Disable clock scaling to avoid costly workqueue overheads."
053b8a0d2a

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Change-Id: I31f3191ec5a0e4461048d97cb264cbfb284b9952
This commit is contained in:
Chenyang Zhong 2020-12-29 02:47:09 -05:00 committed by Bruno Martins
parent ac26728b47
commit d0553fba54

View File

@ -38,7 +38,6 @@ on init
write /dev/stune/top-app/schedtune.colocate 1
# Disable UFS powersaving
write /sys/devices/platform/soc/${ro.boot.bootdevice}/clkscale_enable 0
write /sys/devices/platform/soc/${ro.boot.bootdevice}/clkgate_enable 0
write /sys/devices/platform/soc/${ro.boot.bootdevice}/hibern8_on_idle_enable 0
@ -83,7 +82,6 @@ on property:init.svc.vendor.charger=running
wait /dev/block/bootdevice
# Enable UFS powersaving
write /sys/devices/platform/soc/${ro.boot.bootdevice}/clkscale_enable 1
write /sys/devices/platform/soc/${ro.boot.bootdevice}/clkgate_enable 1
write /sys/devices/platform/soc/${ro.boot.bootdevice}/hibern8_on_idle_enable 1
@ -223,7 +221,6 @@ on enable-low-power
write /sys/module/lpm_levels/parameters/sleep_disabled 0
# Enable UFS powersaving
write /sys/devices/platform/soc/${ro.boot.bootdevice}/clkscale_enable 1
write /sys/devices/platform/soc/${ro.boot.bootdevice}/clkgate_enable 1
write /sys/devices/platform/soc/${ro.boot.bootdevice}/hibern8_on_idle_enable 1