Disable CX PC by dummy regulator vote
Change-Id: I045a77780249b78dd3dffae8f537a985739561c0
This commit is contained in:
parent
d5ed310649
commit
55b30d2fa7
|
@ -25,7 +25,6 @@
|
|||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
target=`getprop ro.board.platform`
|
||||
|
||||
function configure_zram_parameters() {
|
||||
|
@ -2455,6 +2454,9 @@ case "$target" in
|
|||
echo 0 > /proc/sys/kernel/sched_boost
|
||||
# Turn on sleep modes.
|
||||
echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled
|
||||
#Disable CX PC
|
||||
echo 49 385 > /d/regulator/soc:rpmh-regulator-cxlvl-pm8998_s9_level/voltage
|
||||
echo 1 > /d/regulator/soc:rpmh-regulator-cxlvl-pm8998_s9_level/enable
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Reference in New Issue