projects
/
platform
/
core
/
system
/
deviced.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2f6461
)
display: Add omitted code to display-panel
23/295923/1
author
Yunhee Seo
<yuni.seo@samsung.com>
Mon, 17 Jul 2023 07:50:23 +0000
(16:50 +0900)
committer
Yunhee Seo
<yuni.seo@samsung.com>
Mon, 17 Jul 2023 08:14:15 +0000
(17:14 +0900)
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 <yuni.seo@samsung.com>
src/display/display-panel.c
patch
|
blob
|
history
diff --git
a/src/display/display-panel.c
b/src/display/display-panel.c
index
aa3df63
..
85b56a4
100644
(file)
--- 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;
}