From d4f01c97ceecd2acc607e0890d348490cf403711 Mon Sep 17 00:00:00 2001 From: Jang JeongHoon Date: Thu, 17 May 2018 14:59:52 +0900 Subject: [PATCH] [HACK] power: Held temp wakelock. Change-Id: Ia21de3beef3726e4b170fdcbe690af51a50c1cb7 Signed-off-by: Jang JeongHoon --- kernel/power/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/power/main.c b/kernel/power/main.c index 3a2ca9066583..798ddfd46a19 100644 --- a/kernel/power/main.c +++ b/kernel/power/main.c @@ -788,6 +788,9 @@ static int __init pm_init(void) if (error) return error; pm_print_times_init(); + + pm_wake_lock("temp_wake_lock"); + return pm_autosleep_init(); } -- 2.20.1