power: change configuration section of TimeoutSleepSupport 72/272772/1
authorYoungjae Cho <y0.cho@samsung.com>
Thu, 24 Mar 2022 06:45:47 +0000 (15:45 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Thu, 24 Mar 2022 06:45:47 +0000 (15:45 +0900)
Change-Id: I9e534b858d7994182d994d9649d4f1e2375c32e9
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
conf/power.conf
src/power/power-control.c

index 60a66cc..57a49fa 100644 (file)
@@ -5,8 +5,6 @@ Option=wdownload
 Option=debug
 Option=silent
 
-[Sleep]
-TimeoutSleepSupport=yes
-
 [PowerState]
+TimeoutSleepSupport=yes
 ChangeStateMaxWaitSecond=10
index c44d2de..91d07b9 100644 (file)
@@ -332,7 +332,7 @@ static int __pm_power_unlock(void *data)
 
 static int load_sleep_config(struct parse_result *result, void *user_data)
 {
-       if (!MATCH(result->section, "Sleep"))
+       if (!MATCH(result->section, "PowerState"))
                return 0;
 
        if (MATCH(result->name, "TimeoutSleepSupport") && MATCH(result->value, "yes")) {