arm: tegra: kai: gpio changes for smb349 driver
Syed Rafiuddin [Thu, 2 Feb 2012 10:00:00 +0000 (15:00 +0530)]
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>

arch/arm/mach-tegra/board-kai-power.c

index 8ccad75..2599b3f 100644 (file)
@@ -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,