Skip to contentSkip to conversation

rockchip: video: mipi: Do not write to the version register

PATCH In review Richard Röjfors 2 participants 4 messages Nov 7, 2018 – Nov 14, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rockchip: video: mipi: Do not write to the version register

There was a copy and paste error where the data enable setting was written to the version register.

---
 drivers/video/rockchip/rk_mipi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/rockchip/rk_mipi.c +1 -1
index 4fe8f47441..88bf56ea09 100644
@@ -106,7 +106,7 @@ int rk_mipi_dsi_enable(struct udevice *dev,
 	rk_mipi_dsi_write(regs, VSYNC_ACTIVE_LOW, val);
 
 	val = (timing->flags & DISPLAY_FLAGS_DE_LOW) ? 1 : 0;
-	rk_mipi_dsi_write(regs, DISPLAY_FLAGS_DE_LOW, val);
+	rk_mipi_dsi_write(regs, DATAEN_ACTIVE_LOW, val);
 
 	val = (timing->flags & DISPLAY_FLAGS_PIXDATA_NEGEDGE) ? 1 : 0;
 	rk_mipi_dsi_write(regs, COLORM_ACTIVE_LOW, val);
Signature · 1 line
2.19.1