From 1d73ac2e0003a531a7014337a246c192f40f6447 Mon Sep 17 00:00:00 2001 From: Youngjae Cho Date: Thu, 20 Aug 2020 13:45:08 +0900 Subject: [PATCH] Fix display not to go into AOD when poweroff Change-Id: Ie57cc79a23eb20b948e8bdf54ce6acadcd1474b6 Signed-off-by: Youngjae Cho --- src/power/power-handler.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/power/power-handler.c b/src/power/power-handler.c index 4376b57..c00b17f 100644 --- a/src/power/power-handler.c +++ b/src/power/power-handler.c @@ -136,9 +136,7 @@ static void disable_display(void) { const struct device_ops *display_device_ops = NULL; FIND_DEVICE_VOID(display_device_ops, "display"); - if (disp_plgn->pm_change_internal) - disp_plgn->pm_change_internal(INTERNAL_LOCK_POWEROFF, LCD_OFF); - display_device_ops->exit(NULL); + display_device_ops->stop(NORMAL_MODE); } static int disable_systemd_journald(void) -- 2.7.4