OSDN Git Service
(root)
/
android-x86
/
kernel.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
cc9de59
..
bf299cf
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".