pinctrl: palmas: correct register map for gpio0
Ahung Cheng [Tue, 17 Sep 2013 07:33:45 +0000 (15:33 +0800)]
bug 1369289

Change-Id: I7d1d4d372e342ba4eabcd07679590127db84f73b
Signed-off-by: Ahung Cheng <ahcheng@nvidia.com>
Reviewed-on: http://git-master/r/276270
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

drivers/pinctrl/pinctrl-palmas.c

index 595fd7e..9b57483 100644 (file)
@@ -411,7 +411,7 @@ PULL_UP_DN(chrg_det,        PU_PD_OD,       PALMAS_PU_PD_INPUT_CTRL3,       0x10,   0x0,    -1,     0x10);
 PULL_UP_DN(pwrhold,    PU_PD_OD,       PALMAS_PU_PD_INPUT_CTRL3,       0x4,    0x0,    -1,     0x4);
 PULL_UP_DN(msecure,    PU_PD_OD,       PALMAS_PU_PD_INPUT_CTRL3,       0x1,    0x0,    -1,     0x1);
 PULL_UP_DN(id,         USB_OTG,        PALMAS_USB_ID_CTRL_SET,         0x40,   0x0,    0x40,   -1);
-PULL_UP_DN(gpio0,      GPIO,           PALMAS_PU_PD_GPIO_CTRL1,        0x04,   0,      -1,     1);
+PULL_UP_DN(gpio0,      GPIO,           PALMAS_PU_PD_GPIO_CTRL1,        0x01,   0,      -1,     1);
 PULL_UP_DN(gpio1,      GPIO,           PALMAS_PU_PD_GPIO_CTRL1,        0x0C,   0,      0x8,    0x4);
 PULL_UP_DN(gpio2,      GPIO,           PALMAS_PU_PD_GPIO_CTRL1,        0x30,   0x0,    0x20,   0x10);
 PULL_UP_DN(gpio3,      GPIO,           PALMAS_PU_PD_GPIO_CTRL1,        0x40,   0x0,    -1,     0x40);