summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorNarendra Damahe <ndamahe@nvidia.com>2010-12-22 13:34:00 -0800
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:46:09 -0800
commitef60533f08b08c427a11b59556938651c4df31f0 (patch)
tree6305e3cbb466ad7c567f89a33fc691a3981a2392 /arch
parent0b010644faef90c16bb4710794bf8a1315bb765a (diff)
[tegra/ventana] vdd_lvds power source correction
vdd_lvds supply is not directly derived from pmu in ventana and hence correction Original-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> Rebase-Id: R38c9d56298a154495646a590808cd5e60cdd10f4
Diffstat (limited to 'arch')
-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 c09272ac8b44..f4ef65e35ecc 100644
--- a/arch/arm/mach-tegra/board-ventana-panel.c
+++ b/arch/arm/mach-tegra/board-ventana-panel.c
@@ -92,16 +92,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),