dect
/
linux-2.6
Archived
13
0
Fork 0

Blackfin arch: Fix Bug - request lines with peripheral_request_list, but don't get freed with peripheral_free_list

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>
This commit is contained in:
Michael Hennerich 2009-02-04 16:49:45 +08:00 committed by Bryan Wu
parent 331693129d
commit 5e7bb132bb
1 changed files with 0 additions and 3 deletions

View File

@ -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)))) {