MLK-17280-1: drm: panel: rm67191: Fix power on sequence
authorRobert Chiras <robert.chiras@nxp.com>
Fri, 5 Jan 2018 11:41:44 +0000 (13:41 +0200)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:52:39 +0000 (14:52 -0500)
According to the vendor driver sample there is a sleep after the exit
sleep and display on commands, but it seems that these sleeps are only
causing stability issues when the display signal is sent to the panel,
so remove them.

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
Reviewed-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
drivers/gpu/drm/panel/panel-raydium-rm67191.c

index 4e9fea9..4f41fd3 100644 (file)
@@ -296,16 +296,12 @@ static int rad_panel_prepare(struct drm_panel *panel)
                goto fail;
        }
 
-       msleep(120);
-
        ret = mipi_dsi_dcs_set_display_on(dsi);
        if (ret < 0) {
                DRM_DEV_ERROR(dev, "Failed to set display ON (%d)\n", ret);
                goto fail;
        }
 
-       msleep(100);
-
        rad->prepared = true;
 
        return 0;