projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db6b028
)
sunxi: video: HDMI: use correct bits for HSYNC and VSYNC polarity.
author
Vasily Khoruzhick
<anarsoul@gmail.com>
Mon, 14 May 2018 20:49:52 +0000
(13:49 -0700)
committer
Anatolij Gustschin
<agust@denx.de>
Tue, 15 May 2018 06:03:04 +0000
(08:03 +0200)
HSYNC is bit 8, and VSYNC is bit 9.
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@siol.net>
drivers/video/sunxi/sunxi_dw_hdmi.c
patch
|
blob
|
history
diff --git
a/drivers/video/sunxi/sunxi_dw_hdmi.c
b/drivers/video/sunxi/sunxi_dw_hdmi.c
index c78e33b9473803479cf05afc098266af1e7fed60..9dbea649a0ff709da88a28c7859f9c9b60511f11 100644
(file)
--- a/
drivers/video/sunxi/sunxi_dw_hdmi.c
+++ b/
drivers/video/sunxi/sunxi_dw_hdmi.c
@@
-303,10
+303,10
@@
static int sunxi_dw_hdmi_enable(struct udevice *dev, int panel_bpp,
sunxi_dw_hdmi_lcdc_init(priv->mux, edid, panel_bpp);
- if (edid->flags & DISPLAY_FLAGS_
H
SYNC_LOW)
+ if (edid->flags & DISPLAY_FLAGS_
V
SYNC_LOW)
setbits_le32(&phy->pol, 0x200);
- if (edid->flags & DISPLAY_FLAGS_
V
SYNC_LOW)
+ if (edid->flags & DISPLAY_FLAGS_
H
SYNC_LOW)
setbits_le32(&phy->pol, 0x100);
setbits_le32(&phy->ctrl, 0xf << 12);