summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Wagner <mwagner@nvidia.com>2011-07-21 18:45:02 -0700
committerVarun Colbert <vcolbert@nvidia.com>2011-07-26 16:53:26 -0700
commit8b4f1ecadcea91030dfc8522e66aaa339cf95adc (patch)
treee76d0b9d9586410e38b69abaafa04df2b5d4658d
parentdee91eaf47a7e6b392e9663170dcfdcdde73446c (diff)
ARM: tegra: enterprise: Revert Backlight Change
Removed all gpio references to the pwm pin for the backlight. Setting these makes the backlight unchangeable. Change-Id: I9f7d7d909008f083481ec323e6f556c884c1174d Reviewed-on: http://git-master/r/42514 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
-rw-r--r--arch/arm/mach-tegra/board-enterprise-panel.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/arch/arm/mach-tegra/board-enterprise-panel.c b/arch/arm/mach-tegra/board-enterprise-panel.c
index f3519ab24075..2569238d6795 100644
--- a/arch/arm/mach-tegra/board-enterprise-panel.c
+++ b/arch/arm/mach-tegra/board-enterprise-panel.c
@@ -47,7 +47,6 @@
#define enterprise_hdmi_hpd TEGRA_GPIO_PN7
#define enterprise_dsi_panel_reset TEGRA_GPIO_PW0
-#define enterprise_dsi_panel_bl TEGRA_GPIO_PW1
#define enterprise_lcd_2d_3d TEGRA_GPIO_PH1
#define ENTERPRISE_STEREO_3D 0
@@ -82,6 +81,7 @@ static struct platform_device enterprise_disp1_backlight_device = {
.platform_data = &enterprise_disp1_backlight_data,
},
};
+
static int enterprise_hdmi_vddio_enable(void)
{
int ret;
@@ -376,25 +376,11 @@ static int enterprise_dsi_panel_enable(void)
mdelay(20);
#endif
- ret = gpio_request(enterprise_dsi_panel_bl, "DSIa backlight");
- if (ret < 0)
- return ret;
-
- ret = gpio_direction_output(enterprise_dsi_panel_bl, 1);
- if (ret < 0) {
- gpio_free(enterprise_dsi_panel_bl);
- return ret;
- }
- tegra_gpio_enable(enterprise_dsi_panel_bl);
-
return ret;
}
static int enterprise_dsi_panel_disable(void)
{
- tegra_gpio_disable(enterprise_dsi_panel_bl);
- gpio_free(enterprise_dsi_panel_bl);
-
#if DSI_PANEL_RESET
tegra_gpio_disable(enterprise_dsi_panel_reset);
gpio_free(enterprise_dsi_panel_reset);