The enable flags are initialized to 0 already by engines_init, so now that
we no longer retry the mode-set, the disabling of the blocks in
sunxi_mode_set() is a no-op.

Signed-off-by: Hans de Goede <hdego...@redhat.com>
---
 drivers/video/sunxi_display.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/video/sunxi_display.c b/drivers/video/sunxi_display.c
index a0a0613..ced5ce5 100644
--- a/drivers/video/sunxi_display.c
+++ b/drivers/video/sunxi_display.c
@@ -561,10 +561,6 @@ static void sunxi_mode_set(const struct ctfb_res_modes 
*mode, char *monitor,
        int clk_div, clk_double;
        bool hdmi_mode = strcmp(monitor, "hdmi") == 0;
 
-       clrbits_le32(&hdmi->video_ctrl, SUNXI_HDMI_VIDEO_CTRL_ENABLE);
-       clrbits_le32(&lcdc->ctrl, SUNXI_LCDC_CTRL_TCON_ENABLE);
-       clrbits_le32(&de_be->mode, SUNXI_DE_BE_MODE_START);
-
        sunxi_composer_mode_set(mode, address);
        sunxi_lcdc_mode_set(mode, &clk_div, &clk_double);
        sunxi_hdmi_mode_set(mode, hdmi_mode, clk_div, clk_double);
-- 
2.1.0

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to