[Blackfin] arch: Allow concurrent use of GPIO and GPIO IRQ
authorMichael Hennerich <michael.hennerich@analog.com>
Thu, 24 Apr 2008 00:10:10 +0000 (08:10 +0800)
committerBryan Wu <cooloney@kernel.org>
Thu, 24 Apr 2008 00:10:10 +0000 (08:10 +0800)
commitaffee2b2613ada262eecea354b6c60696ca5d482
treebc8b5b7a11416f565635b0b135a4438e17e64230
parenta086ee2268abcfcbf80a114f4602e5b26aa80bf0
[Blackfin] arch: Allow concurrent use of GPIO and GPIO IRQ

The irq setup code no longer calls gpio request and free.
This patch also changes the default gpio_free behavior on Blackfin.
A freed GPIO keeps it's last state, and is not defaulted back to
an input. This is also what all other architectures do.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/kernel/bfin_gpio.c
arch/blackfin/mach-common/ints-priority.c