From 512997761231f1097305542c6f31efd5ff6accc5 Mon Sep 17 00:00:00 2001 From: Demon000 Date: Mon, 19 Aug 2019 09:49:42 +0200 Subject: [PATCH] davinci: rootdir: Remove sleep_disabled switch during boot Change-Id: I59f5f96e5aaf381f9cb2b3697983484ec3086aea --- BoardConfig.mk | 1 - rootdir/bin/init.qcom.post_boot.sh | 2 -- 2 files changed, 3 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index 3247bb6..253d2eb 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -102,7 +102,6 @@ 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_KERNEL_CMDLINE += androidboot.selinux=permissive diff --git a/rootdir/bin/init.qcom.post_boot.sh b/rootdir/bin/init.qcom.post_boot.sh index 1a512f0..07fd111 100644 --- a/rootdir/bin/init.qcom.post_boot.sh +++ b/rootdir/bin/init.qcom.post_boot.sh @@ -213,8 +213,6 @@ case "$target" in done done - # Turn on sleep modes. - echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled # Set Memory parameters configure_memory_parameters