summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-pluto-panel.c
diff options
context:
space:
mode:
authorAnimesh Kishore <ankishore@nvidia.com>2012-09-20 21:38:21 -0700
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-10-10 22:34:29 -0700
commit13a374450db351f0b25bd33bd469f82e9398ee10 (patch)
tree95b1a28e82f062dee7f5822484a1917a527c8d46 /arch/arm/mach-tegra/board-pluto-panel.c
parent9bf02fbe1f3cde9bd03b3051bcc890132ac3f781 (diff)
arm: tegra: pluto: Fix panel cold boot failure
Fixing broken panel display for cold boot. Bug 1051891 Reviewed-on: http://git-master/r/134264 (cherry picked from commit 8b96e8936553e942e8b9f8f5fc2fde7acad251fb) Change-Id: Iebe917c206a46281334affbdae0a1a8f56a83eef Signed-off-by: Animesh Kishore <ankishore@nvidia.com> Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/143132 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-pluto-panel.c')
-rw-r--r--arch/arm/mach-tegra/board-pluto-panel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/board-pluto-panel.c b/arch/arm/mach-tegra/board-pluto-panel.c
index 14ed1703c9cb..65fae00eaf81 100644
--- a/arch/arm/mach-tegra/board-pluto-panel.c
+++ b/arch/arm/mach-tegra/board-pluto-panel.c
@@ -353,9 +353,6 @@ static int pluto_dsi_panel_enable(void)
goto fail;
}
- gpio_direction_output(DSI_PANEL_BL_EN_GPIO, 1);
- gpio_direction_output(TEGRA_GPIO_PH1, 1);
-
if (avdd_lcd_3v0_2v8) {
err = regulator_enable(avdd_lcd_3v0_2v8);
if (err < 0) {
@@ -402,6 +399,9 @@ static int pluto_dsi_panel_enable(void)
gpio_set_value(DSI_PANEL_RST_GPIO, 1);
msleep(20);
#endif
+ gpio_direction_output(DSI_PANEL_BL_EN_GPIO, 1);
+ gpio_direction_output(TEGRA_GPIO_PH1, 1);
+
return 0;
fail:
return err;