summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-ventana-panel.c
diff options
context:
space:
mode:
authorChong Zhang <chzhang@nvidia.com>2011-01-26 12:39:40 -0800
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:46:12 -0800
commit553e8b1ef9bcfe3e5119f26a4c19ce48f20347e5 (patch)
treee371535b5d188654fc8779d43fe6ed9113f5d5d6 /arch/arm/mach-tegra/board-ventana-panel.c
parent746f5fdc1e60b12977994a90e5dd9b5f5da18582 (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 Original-Change-Id: I3c3d6282e8f17cce1287410dac7d28744cb9f8ba Reviewed-on: http://git-master/r/17083 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R8f393cf4169d68769d80ebd9666792807250912c
Diffstat (limited to 'arch/arm/mach-tegra/board-ventana-panel.c')
-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 8f82b5f6f57c..2618d5d028a2 100644
--- a/arch/arm/mach-tegra/board-ventana-panel.c
+++ b/arch/arm/mach-tegra/board-ventana-panel.c
@@ -108,7 +108,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)) {
@@ -135,7 +134,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;