From 492cfb32718248cc6fadf2a3b63373b89aa3efc2 Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Fri, 9 Dec 2011 15:14:27 +0200 Subject: [PATCH] gfx: display: give the panel more time to wake up after power on 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 Signed-off-by: Kirill A. Shutemov --- drivers/staging/mrst/drv/tc35876x-dsi-lvds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/mrst/drv/tc35876x-dsi-lvds.c b/drivers/staging/mrst/drv/tc35876x-dsi-lvds.c index 11286a9..869bb06 100644 --- a/drivers/staging/mrst/drv/tc35876x-dsi-lvds.c +++ b/drivers/staging/mrst/drv/tc35876x-dsi-lvds.c @@ -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) { -- 2.7.4