aboutsummaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
authorceltare21 <celtare21@gmail.com>2019-06-14 13:52:49 +0300
committerceltare21 <celtare21@gmail.com>2019-06-14 13:52:49 +0300
commit73750c79d4b7250fbe61846b7a4cd31ace4b3038 (patch)
tree7f7c4819dbf0f8092c15988e8a82557de9454643 /rootdir
parentc4676c8e56692d668299bd7e5caa1eb18e1384f1 (diff)
mata: Remove UFS powersaving from init.mata.rc
Signed-off-by: celtare21 <celtare21@gmail.com>
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/etc/init.mata.rc6
1 files changed, 0 insertions, 6 deletions
diff --git a/rootdir/etc/init.mata.rc b/rootdir/etc/init.mata.rc
index 466416fc..749c041c 100644
--- a/rootdir/etc/init.mata.rc
+++ b/rootdir/etc/init.mata.rc
@@ -597,12 +597,6 @@ on property:ro.boot.carrier.sku=*
setprop ro.oem.key1 ${ro.boot.carrier.sku}
on property:sys.boot_completed=1
-
- # 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/module/lpm_levels/parameters/sleep_disabled N
-
# Enable ZRAM
swapon_all /vendor/etc/fstab.mata