From 24af70e3ba96c25c98e3c8e163e7d8b30959dd3c Mon Sep 17 00:00:00 2001 From: Demon000 Date: Mon, 6 Jul 2020 00:26:54 +0300 Subject: [PATCH] sm6250-common: enable suspend in off-mode charging This guards usage of libsuspend in off-mode charging. --- BoardConfigCommon.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 0e1c7ea..08a7468 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -38,6 +38,9 @@ TARGET_NO_BOOTLOADER := true # Camera TARGET_USES_QTI_CAMERA_DEVICE := true +# Charger +BOARD_CHARGER_ENABLE_SUSPEND := true + # Kernel BOARD_KERNEL_BASE := 0x00000000 BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb