projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c51125
)
osd: fix osd buildroot compile error
author
pengcheng chen
<pengcheng.chen@amlogic.com>
Wed, 12 Sep 2018 01:48:18 +0000
(09:48 +0800)
committer
Jianxin Pan
<jianxin.pan@amlogic.com>
Wed, 12 Sep 2018 01:55:40 +0000
(18:55 -0700)
PD#163001: osd: fix osd buildroot compile error
Change-Id: I93b9b9646316879f013f901f683c092a20d9ff71
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
drivers/amlogic/media/osd/osd_hw.c
patch
|
blob
|
history
diff --git
a/drivers/amlogic/media/osd/osd_hw.c
b/drivers/amlogic/media/osd/osd_hw.c
index
7c9083d
..
4a29f99
100644
(file)
--- a/
drivers/amlogic/media/osd/osd_hw.c
+++ b/
drivers/amlogic/media/osd/osd_hw.c
@@
-7452,10
+7452,12
@@
void osd_init_hw(u32 logo_loaded, u32 osd_probe,
{
u32 idx, data32;
int err_num = 0;
+#ifdef CONFIG_AMLOGIC_MEDIA_FB_OSD_SYNC_FENCE
int i = 0;
for (i = 0 ; i < HW_OSD_COUNT; i++)
displayed_bufs[i] = NULL;
+#endif
osd_hw.fb_drvier_probe = osd_probe;