gfx: display: give the panel more time to wake up after power on
authorJani Nikula <jani.nikula@intel.com>
Fri, 9 Dec 2011 13:14:27 +0000 (15:14 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:28:51 +0000 (12:28 +0300)
The panel I2C writes would fail if done too soon after power on. The panel
spec is not explicit on how early I2C can be used, but 50 ms was clearly
too little.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
drivers/staging/mrst/drv/tc35876x-dsi-lvds.c

index 11286a9..869bb06 100644 (file)
@@ -427,7 +427,7 @@ void tc35876x_toshiba_bridge_panel_on(void)
        if (pdata->gpio_panel_vadd != -1) {
                gpio_set_value_cansleep(pdata->gpio_panel_vadd, 1);
                /* FIXME: check sleep from panel spec */
-               msleep(50);
+               msleep(100);
        }
 
        if (cmi_lcd_i2c_client) {