summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNarendra Damahe <ndamahe@nvidia.com>2010-12-22 13:34:00 -0800
committerBharat Nihalani <bnihalani@nvidia.com>2010-12-23 07:10:46 -0800
commita1418a3690fb92bc29ae1b9134a023101f88e67a (patch)
treef30228babecf42a0b987e1cea569cfcd32545a6f
parent96a476b53360de76f20774122111f031be9ac9c2 (diff)
[tegra/ventana] vdd_lvds power source correction
vdd_lvds supply is not directly derived from pmu in ventana and hence correction Change-Id: Idf925ec9b6ff6aeeddfd590f3bd8ff42147727bb Reviewed-on: http://git-master/r/14138 Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Tested-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
-rw-r--r--arch/arm/mach-tegra/board-ventana-panel.c9
-rw-r--r--arch/arm/mach-tegra/board-ventana-power.c1
2 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/mach-tegra/board-ventana-panel.c b/arch/arm/mach-tegra/board-ventana-panel.c
index d6c89cdd0172..e100af193fa1 100644
--- a/arch/arm/mach-tegra/board-ventana-panel.c
+++ b/arch/arm/mach-tegra/board-ventana-panel.c
@@ -93,16 +93,7 @@ static struct platform_device ventana_backlight_device = {
static int ventana_panel_enable(void)
{
- static struct regulator *reg = NULL;
gpio_set_value(ventana_pnl_pwr_enb, 1);
- if (reg == NULL) {
- reg = regulator_get(NULL, "avdd_lvds");
- if (WARN_ON(IS_ERR(reg)))
- pr_err("%s: couldn't get regulator avdd_lvds: %ld\n",
- __func__, PTR_ERR(reg));
- else
- regulator_enable(reg);
- }
gpio_set_value(ventana_lvds_shutdown, 1);
return 0;
}
diff --git a/arch/arm/mach-tegra/board-ventana-power.c b/arch/arm/mach-tegra/board-ventana-power.c
index bec4ce0f879d..d56ac998a385 100644
--- a/arch/arm/mach-tegra/board-ventana-power.c
+++ b/arch/arm/mach-tegra/board-ventana-power.c
@@ -69,7 +69,6 @@ static struct regulator_consumer_supply tps658621_ldo2_supply[] = {
static struct regulator_consumer_supply tps658621_ldo3_supply[] = {
REGULATOR_SUPPLY("avdd_usb", NULL),
REGULATOR_SUPPLY("avdd_usb_pll", NULL),
- REGULATOR_SUPPLY("avdd_lvds", NULL),
};
static struct regulator_consumer_supply tps658621_ldo4_supply[] = {
REGULATOR_SUPPLY("avdd_osc", NULL),