From: Bibek Basu <bibek.b...@stericsson.com> Alternate function register address is actually 0x50 and thus changed accordingly.
Signed-off-by: Lee Jones <lee.jo...@linaro.org> Signed-off-by: Bibek Basu <bibek.b...@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kau...@stericsson.com> Reviewed-by: Jonas ABERG <jonas.ab...@stericsson.com> Tested-by: Jonas ABERG <jonas.ab...@stericsson.com> --- drivers/gpio/gpio-ab8500.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-ab8500.c b/drivers/gpio/gpio-ab8500.c index c3c7c5a..b7d4416 100644 --- a/drivers/gpio/gpio-ab8500.c +++ b/drivers/gpio/gpio-ab8500.c @@ -60,7 +60,7 @@ #define AB8500_GPIO_IN4_REG 0x43 #define AB8500_GPIO_IN5_REG 0x44 #define AB8500_GPIO_IN6_REG 0x45 -#define AB8500_GPIO_ALTFUN_REG 0x45 +#define AB8500_GPIO_ALTFUN_REG 0x50 #define ALTFUN_REG_INDEX 6 #define AB8500_NUM_GPIO 42 #define AB8500_NUM_VIR_GPIO_IRQ 16 -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/