projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c8bb0e
)
plat-nomadik: set altfunc to GPIO when enabling the sleep config
author
Rabin Vincent
<rabin.vincent@stericsson.com>
Thu, 25 Nov 2010 06:08:27 +0000
(11:38 +0530)
committer
Linus Walleij
<linus.walleij@linaro.org>
Mon, 14 Mar 2011 13:05:15 +0000
(14:05 +0100)
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/plat-nomadik/gpio.c
patch
|
blob
|
history
diff --git
a/arch/arm/plat-nomadik/gpio.c
b/arch/arm/plat-nomadik/gpio.c
index cc9de5964d89f9f1bd089e21596cff16b325f346..bf299cf345942d95e58be0b6c0c82e328c978944 100644
(file)
--- 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".