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:
4087b86
)
rk32: lvds/rgb: fix rgb output when have no lvds_format
author
Mark Yao
<mark.yao@rock-chips.com>
Mon, 10 Aug 2015 08:22:51 +0000
(16:22 +0800)
committer
Mark Yao
<mark.yao@rock-chips.com>
Mon, 10 Aug 2015 08:25:45 +0000
(16:25 +0800)
If we don't add lvds_format on the display timing, the lvds_format
value may be -1, means 0xffffffff when do register write, that is
wrong and display not works.
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
drivers/video/rockchip/transmitter/rk32_lvds.c
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/transmitter/rk32_lvds.c
b/drivers/video/rockchip/transmitter/rk32_lvds.c
index d0a8b7a78780a018bb9e222dd38fb174d8175850..3e8394f005433689a9b3f6b9f5b5053bd253fc37 100755
(executable)
--- a/
drivers/video/rockchip/transmitter/rk32_lvds.c
+++ b/
drivers/video/rockchip/transmitter/rk32_lvds.c
@@
-80,7
+80,7
@@
static int rk32_lvds_en(void)
(screen->type == SCREEN_LVDS_10BIT))
val |= LVDS_CH0_EN;
else if (screen->type == SCREEN_RGB)
- val
|
= LVDS_TTL_EN | LVDS_CH0_EN | LVDS_CH1_EN;
+ val = LVDS_TTL_EN | LVDS_CH0_EN | LVDS_CH1_EN;
h_bp = screen->mode.hsync_len + screen->mode.left_margin;
if (h_bp & 0x01)