Revert "davinci: rootdir: Remove sleep_disabled switch during boot"

This reverts commit 5129977612.

Change-Id: Ib2c6b666191cec45992996465b2d355df5ba1c10
This commit is contained in:
Arian 2021-03-30 01:44:47 +02:00
parent 70a7144540
commit 0af4075687
No known key found for this signature in database
GPG Key ID: 48029380598CE3B9
2 changed files with 4 additions and 0 deletions

View File

@ -103,6 +103,7 @@ BOARD_KERNEL_CMDLINE := console=ttyMSM0,115200n8 earlycon=msm_geni_serial,0xa880
BOARD_KERNEL_CMDLINE += androidboot.hardware=qcom androidboot.console=ttyMSM0
BOARD_KERNEL_CMDLINE += androidboot.usbcontroller=a600000.dwc3
BOARD_KERNEL_CMDLINE += service_locator.enable=1
BOARD_KERNEL_CMDLINE += lpm_levels.sleep_disabled=1
BOARD_KERNEL_CMDLINE += loop.max_part=7
BOARD_BOOTIMG_HEADER_VERSION := 1

View File

@ -218,6 +218,9 @@ case "$target" in
# Turn off scheduler boost at the end
echo 0 > /proc/sys/kernel/sched_boost
# Turn on sleep modes.
echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled
;;
esac