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.