ufs: set clkgate_enable when in offmode charging
Bug: 190729148 Bug: 190727603 Test: manual R4 Signed-off-by: Konstantin Vyshetsky <vkon@google.com> Change-Id: I2f544cc01af18a0a6e85a2abd37d8621f24e286d
This commit is contained in:
parent
69e6504dec
commit
cf18666812
1 changed files with 5 additions and 0 deletions
|
@ -852,3 +852,8 @@ on property:vendor.disable.bcl.control=1
|
|||
|
||||
on property:vendor.disable.bcl.control=0
|
||||
write /sys/devices/virtual/pmic/mitigation/instruction/enable_mitigation 1
|
||||
|
||||
# UFS
|
||||
on property:ro.boot.mode=charger && property:init.svc.vendor.charger=running
|
||||
# Enable UFS powersaving in Off Mode Charger
|
||||
write /dev/sys/block/bootdevice/clkgate_enable 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue