提交 5e7bb132 编写于 作者: M Michael Hennerich 提交者: Bryan Wu

Blackfin arch: Fix Bug - request lines with peripheral_request_list, but don't...

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: NMichael McTernan <mmcternan@airvana.com>
Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com>
Signed-off-by: NBryan Wu <cooloney@kernel.org>
上级 33169312
......@@ -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)))) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册