diff options
author | Varun Wadekar <vwadekar@nvidia.com> | 2010-12-18 16:59:30 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:46:08 -0800 |
commit | 99a41e2d15377a5e4a8dd89649970ea374fd3d46 (patch) | |
tree | c5b390511fd32b673850884fd3b7ba98ec6b0c32 /arch/arm/mach-tegra/board-ventana-power.c | |
parent | cca91b2a6447fb92c3d849e7858bfff359100b75 (diff) |
[ARM] tegra: ventana: proper gpio for battery charging
Original-Change-Id: I645b5f64f3b8148cb054f5da4890e5ee940a96e6
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/13754
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Rebase-Id: R97808e7489e1269d98ed8fcaf0919bd544797c09
Diffstat (limited to 'arch/arm/mach-tegra/board-ventana-power.c')
-rw-r--r-- | arch/arm/mach-tegra/board-ventana-power.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-tegra/board-ventana-power.c b/arch/arm/mach-tegra/board-ventana-power.c index 2e3d1fd9be71..6f033ebec149 100644 --- a/arch/arm/mach-tegra/board-ventana-power.c +++ b/arch/arm/mach-tegra/board-ventana-power.c @@ -37,13 +37,13 @@ #define PMC_CTRL 0x0 #define PMC_CTRL_INTR_LOW (1 << 17) -#define ventana_ac_ok TEGRA_GPIO_PV3 +#define CHARGING_DISABLE TEGRA_GPIO_PR6 int __init ventana_charge_init(void) { - gpio_request(ventana_ac_ok, "ac_ok"); - gpio_direction_input(ventana_ac_ok); - tegra_gpio_enable(ventana_ac_ok); + gpio_request(CHARGING_DISABLE, "chg_disable"); + gpio_direction_output(CHARGING_DISABLE, 0); + tegra_gpio_enable(CHARGING_DISABLE); return 0; } |