]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
rdc321x: GPIO routines bugfixes
authorFlorian Fainelli <florian.fainelli@telecomint.eu>
Wed, 26 Mar 2008 21:39:15 +0000 (22:39 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 27 Mar 2008 15:08:45 +0000 (16:08 +0100)
commitb2ef749720a97053d60605a7456772a1752164cc
tree47120d353cc460d078b5f4b6560c5ab392d09622
parentd8d4f157b8d828bc837f0eb2ee4a2dd40dbdd572
rdc321x: GPIO routines bugfixes

This patch fixes the use of GPIO routines which are in the PCI
configuration space of the RDC321x, therefore reading/writing
to this space without spinlock protection can be problematic.

We also now request and free GPIOs and support the MGB100
board, previous code was very AR525W-centric.

Signed-off-by: Volker Weiss <volker@tintuc.de>
Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mach-rdc321x/gpio.c
arch/x86/mach-rdc321x/platform.c
include/asm-x86/mach-rdc321x/gpio.h
include/asm-x86/mach-rdc321x/rdc321x_defs.h