projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3316931
)
Blackfin arch: Fix Bug - request lines with peripheral_request_list, but don't get...
author
Michael Hennerich
<michael.hennerich@analog.com>
Wed, 4 Feb 2009 08:49:45 +0000
(16:49 +0800)
committer
Bryan Wu
<cooloney@kernel.org>
Wed, 4 Feb 2009 08:49:45 +0000
(16:49 +0800)
Remove erroneous check_gpio(ident) in peripheral_free()
Reported-by: Michael McTernan <mmcternan@airvana.com>
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/kernel/bfin_gpio.c
patch
|
blob
|
history
diff --git
a/arch/blackfin/kernel/bfin_gpio.c
b/arch/blackfin/kernel/bfin_gpio.c
index
4c14331
..
ea67ae5
100644
(file)
--- a/
arch/blackfin/kernel/bfin_gpio.c
+++ b/
arch/blackfin/kernel/bfin_gpio.c
@@
-977,9
+977,6
@@
void peripheral_free(unsigned short per)
if (!(per & P_DEFINED))
return;
- if (check_gpio(ident) < 0)
- return;
-
local_irq_save_hw(flags);
if (unlikely(!(reserved_peri_map[gpio_bank(ident)] & gpio_bit(ident)))) {