projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db6dd9b
)
rk fb: fix HDMI display err when system boot
author
zwl
<zwl@rock-chips.com>
Tue, 25 Mar 2014 14:16:24 +0000
(22:16 +0800)
committer
zwl
<zwl@rock-chips.com>
Tue, 25 Mar 2014 14:16:44 +0000
(22:16 +0800)
drivers/video/rockchip/rk_fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/rk_fb.c
b/drivers/video/rockchip/rk_fb.c
index 6a8626676b4cab800c6efe152a5619ebeb54d444..766fe1ab51da3b37a239e70b7b3cdabca31403a2 100755
(executable)
--- a/
drivers/video/rockchip/rk_fb.c
+++ b/
drivers/video/rockchip/rk_fb.c
@@
-2402,6
+2402,8
@@
int rk_fb_switch_screen(struct rk_screen *screen , int enable, int lcdc_id)
if (dev_drv->ops->lcdc_hdmi_process)
dev_drv->ops->lcdc_hdmi_process(dev_drv, enable);
+ hdmi_switch_complete = enable;
+
if (rk_fb->disp_mode == DUAL) {
if (likely(rk_fb->num_lcdc == 2)) {
pmy_info = rk_fb->fb[0];
@@
-2424,7
+2426,6
@@
int rk_fb_switch_screen(struct rk_screen *screen , int enable, int lcdc_id)
//if (rk_fb->disp_mode != DUAL)
// rk29_backlight_set(1);
- hdmi_switch_complete = enable;
return 0;
}