Skip to contentSkip to conversation

rockchip: video: rk3288_hdmi: Add missing call to dw_hdmi_enable()

PATCH New Niklas Schulze 3 participants 3 messages Jul 14, 2019 – Jul 15, 2019

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

PATCH 1/1 rockchip: video: rk3288_hdmi: Add missing call to dw_hdmi_enable()

The RK3288 HDMI driver's rk3288_hdmi_enable() currently lacks a call to dw_hdmi_enable(). Thus, the HDMI output never gets enabled.

---
 drivers/video/rockchip/rk3288_hdmi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/rockchip/rk3288_hdmi.c +1 -1
index 315d3adf27..3d25ce924c 100644
@@ -33,7 +33,7 @@ static int rk3288_hdmi_enable(struct udevice *dev, int panel_bpp,
 	/* hdmi data from vop id */
 	rk_clrsetreg(&grf->soc_con6, 1 << 4, (vop_id == 1) ? (1 << 4) : 0);
 
-	return 0;
+	return dw_hdmi_enable(&priv->hdmi, edid);
 }
 
 static int rk3288_hdmi_ofdata_to_platdata(struct udevice *dev)
Signature · 1 line
2.22.0
#1 lore raw

PATCH 1/1 rockchip: video: rk3288_hdmi: Add missing call to dw_hdmi_enable()【请注意,邮件由[email protected]代发】 to dw_hdmi_enable()

Hi Niklas,

Quoted 5 lines · Niklas Schulze

The RK3288 HDMI driver's rk3288_hdmi_enable() currently lacks a call to dw_hdmi_enable(). Thus, the HDMI output never gets enabled.

Thanks,
 - Kever

Quoted 17 lines
---
  drivers/video/rockchip/rk3288_hdmi.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/rockchip/rk3288_hdmi.c +1 -1
index 315d3adf27..3d25ce924c 100644
@@ -33,7 +33,7 @@ static int rk3288_hdmi_enable(struct udevice *dev, int panel_bpp,
  	/* hdmi data from vop id */
  	rk_clrsetreg(&grf->soc_con6, 1 << 4, (vop_id == 1) ? (1 << 4) : 0);
 
-	return 0;
+	return dw_hdmi_enable(&priv->hdmi, edid);
  }
 
  static int rk3288_hdmi_ofdata_to_platdata(struct udevice *dev)