From 3546d15c5c3f923f7925f92bfe0f8e1cf8bccc1c Mon Sep 17 00:00:00 2001 From: Rabin Vincent Date: Thu, 25 Nov 2010 11:38:27 +0530 Subject: [PATCH] plat-nomadik: set altfunc to GPIO when enabling the sleep config Signed-off-by: Rabin Vincent Signed-off-by: Linus Walleij --- arch/arm/plat-nomadik/gpio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/plat-nomadik/gpio.c b/arch/arm/plat-nomadik/gpio.c index cc9de5964d89..bf299cf34594 100644 --- a/arch/arm/plat-nomadik/gpio.c +++ b/arch/arm/plat-nomadik/gpio.c @@ -175,6 +175,8 @@ static void __nmk_config_pin(struct nmk_gpio_chip *nmk_chip, unsigned offset, int slpm_output = PIN_SLPM_DIR(cfg); int slpm_val = PIN_SLPM_VAL(cfg); + af = NMK_GPIO_ALT_GPIO; + /* * The SLPM_* values are normal values + 1 to allow zero to * mean "same as normal". -- 2.20.1