[PATCH] arm/orion: use set_bit and clear_bit in gpio implementation

Lennert Buytenhek buytenh at wantstofly.org
Wed Dec 7 09:36:57 EST 2011


On Wed, Dec 07, 2011 at 03:34:43PM +0100, Holger Brunck wrote:

> set_bit and clear_bit are already atomic operations. So use this
> functions to set or unset gpio configurations. This makes the
> additional spinlock unneeded.

They aren't guaranteed to work on I/O space as far as I know.



More information about the linux-arm-kernel mailing list