diff options
author | Syed Rafiuddin <srafiuddin@nvidia.com> | 2012-02-02 15:30:00 +0530 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2012-02-13 06:58:29 -0800 |
commit | 15d1ddf3a828ef93fb0b63a6d0a9edae55aedf65 (patch) | |
tree | d7e2486505e2e220c7d1bfbc4701886932f6d81a /arch | |
parent | ce9997608d338017bc2de4a424f3b25278cecad9 (diff) |
arm: tegra: kai: gpio changes for smb349 driver
This patch changes gpio direction from output to input
to enable interrupts for smb349 charger driver.
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/78294
(cherry picked from commit 0e685175440bdb7f004ded2c4a6612a2c8c39b00)
Change-Id: I65435c5f2e9d534344f152758e54d6a3c2835a00
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/82706
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/board-kai-power.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-kai-power.c b/arch/arm/mach-tegra/board-kai-power.c index 8ccad7520fbb..2599b3f6e7a1 100644 --- a/arch/arm/mach-tegra/board-kai-power.c +++ b/arch/arm/mach-tegra/board-kai-power.c @@ -258,7 +258,7 @@ static struct max77663_gpio_config max77663_gpio_cfgs[] = { }, { .gpio = MAX77663_GPIO1, - .dir = GPIO_DIR_OUT, + .dir = GPIO_DIR_IN, .dout = GPIO_DOUT_LOW, .out_drv = GPIO_OUT_DRV_PUSH_PULL, .alternate = GPIO_ALT_DISABLE, |