From 5c03e5fbb0bbbf58a5771ddb9d38691f0c8b192f Mon Sep 17 00:00:00 2001 From: Markinus Date: Wed, 6 Oct 2010 22:35:59 +0200 Subject: [PATCH] htcleo: disable display as first to init it then completly new Now, no bsods, but sometimes the display is going black on boot --- arch/arm/mach-msm/board-htcleo-panel.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-msm/board-htcleo-panel.c b/arch/arm/mach-msm/board-htcleo-panel.c index 6eb2cc38..9fc7103a 100644 --- a/arch/arm/mach-msm/board-htcleo-panel.c +++ b/arch/arm/mach-msm/board-htcleo-panel.c @@ -953,7 +953,12 @@ int __init htcleo_init_panel(void) } detect_panel_type(); - + + gpio_set_value(HTCLEO_GPIO_LCM_RESET, 0); + LCM_DELAY(2); + vreg_disable(vreg_lcd); + gpio_set_value(HTCLEO_GPIO_LCM_POWER, 0); + ret = platform_device_register(&msm_device_mdp); if (ret != 0) return ret;