Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e6910091 authored by Inki Dae's avatar Inki Dae Committed by Archit Taneja
Browse files

drm/mediatek: hdmi: clean up drm_bridge_add call

parent 300238ce
Loading
Loading
Loading
Loading
+1 −5
Original line number Original line Diff line number Diff line
@@ -1696,11 +1696,7 @@ static int mtk_drm_hdmi_probe(struct platform_device *pdev)


	hdmi->bridge.funcs = &mtk_hdmi_bridge_funcs;
	hdmi->bridge.funcs = &mtk_hdmi_bridge_funcs;
	hdmi->bridge.of_node = pdev->dev.of_node;
	hdmi->bridge.of_node = pdev->dev.of_node;
	ret = drm_bridge_add(&hdmi->bridge);
	drm_bridge_add(&hdmi->bridge);
	if (ret) {
		dev_err(dev, "failed to add bridge, ret = %d\n", ret);
		return ret;
	}


	ret = mtk_hdmi_clk_enable_audio(hdmi);
	ret = mtk_hdmi_clk_enable_audio(hdmi);
	if (ret) {
	if (ret) {