From: Vaibhav Hiremath <hvaib...@ti.com>

If you choose default output to DVI, the LCD panel gets
powered on, since panel->disable function never gets called for LCD.

So, during init put panel power GPIO to off state and the driver
code will decide which output to enable explicitly.

Signed-off-by: Vaibhav Hiremath <hvaib...@ti.com>
---
 arch/arm/mach-omap2/board-am3517evm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/board-am3517evm.c 
b/arch/arm/mach-omap2/board-am3517evm.c
index 6ae8805..dff5274 100644
--- a/arch/arm/mach-omap2/board-am3517evm.c
+++ b/arch/arm/mach-omap2/board-am3517evm.c
@@ -152,7 +152,7 @@ static void __init am3517_evm_display_init(void)
                printk(KERN_ERR "failed to get lcd_panel_pwr\n");
                goto err_2;
        }
-       gpio_direction_output(LCD_PANEL_PWR, 1);
+       gpio_direction_output(LCD_PANEL_PWR, 0);
 
        printk(KERN_INFO "Display initialized successfully\n");
        return;
-- 
1.6.2.4

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to