summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Wagner <mwagner@nvidia.com>2011-07-21 18:45:02 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:47:54 -0800
commit2468bd92c915b13fea31311a8a9aa6773b906056 (patch)
treeb05bde0cd74f6ab5445df4ba7f4d55cbcb1c63d1
parent35134f7138a81a333a17eb2ccac4593603db069e (diff)
ARM: tegra: enterprise: Revert Backlight Change
Removed all gpio references to the pwm pin for the backlight. Setting these makes the backlight unchangeable. Original-Change-Id: I9f7d7d909008f083481ec323e6f556c884c1174d Reviewed-on: http://git-master/r/42514 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R2f72bd77a2b3145cb23369912a5945c5c6dd01f7
-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 42406de53f5f..d9c69c4aca03 100644
--- a/arch/arm/mach-tegra/board-enterprise-panel.c
+++ b/arch/arm/mach-tegra/board-enterprise-panel.c
@@ -46,7 +46,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
@@ -81,6 +80,7 @@ static struct platform_device enterprise_disp1_backlight_device = {
.platform_data = &enterprise_disp1_backlight_data,
},
};
+
static int enterprise_hdmi_vddio_enable(void)
{
int ret;
@@ -375,25 +375,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);