summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorChong Zhang <chzhang@nvidia.com>2011-01-26 12:39:40 -0800
committerVarun Colbert <vcolbert@nvidia.com>2011-02-14 15:55:59 -0800
commite56a2ffd613f71dd43c6abe0adcd7eba27a488bc (patch)
tree4e27fced156d56d73fe1bb55070d6519f8802f19 /arch
parentf5bbafdde1f0d270bf80d8ed2a888f51fdb9e3ab (diff)
[Ventana] hdmi hotplug - leave ventana_hdmi_enb to be 1 always
It seems the "ventana_hdmi_enb" has to stay 1 for hotplug_gpio to work. Setting ventana_hdmi_enb to 0 in ventana_hdmi_disable() will render hotplug_gpio non-functional afterwards. Removing the gpio_set_value(ventana_hdmi_ena..) calls from both ventana_hdmi_enable() and ventana_hdmi_disable() seems to solve the problem. This leave ventana_hdmi_ena at its default value. bug 784597 Change-Id: I3c3d6282e8f17cce1287410dac7d28744cb9f8ba Reviewed-on: http://git-master/r/17083 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-tegra/board-ventana-panel.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/board-ventana-panel.c b/arch/arm/mach-tegra/board-ventana-panel.c
index 9c0637ed2886..0ec0e89d456e 100644
--- a/arch/arm/mach-tegra/board-ventana-panel.c
+++ b/arch/arm/mach-tegra/board-ventana-panel.c
@@ -109,7 +109,6 @@ static int ventana_panel_disable(void)
static int ventana_hdmi_enable(void)
{
- gpio_set_value(ventana_hdmi_enb, 1);
if (!ventana_hdmi_reg) {
ventana_hdmi_reg = regulator_get(NULL, "avdd_hdmi"); /* LD07 */
if (IS_ERR_OR_NULL(ventana_hdmi_reg)) {
@@ -136,7 +135,6 @@ static int ventana_hdmi_enable(void)
static int ventana_hdmi_disable(void)
{
- gpio_set_value(ventana_hdmi_enb, 0);
regulator_disable(ventana_hdmi_reg);
regulator_disable(ventana_hdmi_pll);
return 0;