From: Yunhee Seo Date: Mon, 17 Jul 2023 07:50:23 +0000 (+0900) Subject: display: Add omitted code to display-panel X-Git-Tag: accepted/tizen/unified/20230726.163529~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F23%2F295923%2F1;p=platform%2Fcore%2Fsystem%2Fdeviced.git display: Add omitted code to display-panel Add lcd_on_timeval initizalization code. Because of this, the reset timeout value calculation was not accurate. Change-Id: I2361ed311da06589911e456481977d87426971fb Signed-off-by: Yunhee Seo --- diff --git a/src/display/display-panel.c b/src/display/display-panel.c index aa3df63..85b56a4 100644 --- a/src/display/display-panel.c +++ b/src/display/display-panel.c @@ -507,6 +507,7 @@ int display_panel_calculate_diff_time_between_lcd_on_direct_and_state_action(int if (lcd_on_timeval.tv_sec != 0) { gettimeofday(&now_timeval, NULL); *diff_time = DIFF_TIMEVAL_MS(now_timeval, lcd_on_timeval); + lcd_on_timeval.tv_sec = 0; return 0; }