mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
rk32: lvds/rgb: fix rgb output when have no lvds_format
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>
This commit is contained in:
parent
4087b86c47
commit
2a5ef267a1
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user