projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a19cc9
)
blackfin: gpio: Unreserve gpio in special_gpio_free()
author
Axel Lin
<axel.lin@ingics.com>
Wed, 26 Jun 2013 02:09:16 +0000
(10:09 +0800)
committer
Sonic Zhang
<sonic.zhang@analog.com>
Wed, 31 Jul 2013 08:56:03 +0000
(16:56 +0800)
In special_gpio_free(), call unreserve() rather than reserve() to release gpio.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
arch/blackfin/cpu/gpio.c
patch
|
blob
|
history
diff --git
a/arch/blackfin/cpu/gpio.c
b/arch/blackfin/cpu/gpio.c
index f74a0b7c0e8b5e78768644b455aaca3cdbce8d6b..a4d10d51608d6fbeabdddd394ed19dafb8cfafde 100644
(file)
--- a/
arch/blackfin/cpu/gpio.c
+++ b/
arch/blackfin/cpu/gpio.c
@@
-662,8
+662,8
@@
void special_gpio_free(unsigned gpio)
return;
}
- reserve(special_gpio, gpio);
- reserve(peri, gpio);
+
un
reserve(special_gpio, gpio);
+
un
reserve(peri, gpio);
set_label(gpio, "free");
}
#endif