ARM: S5P6440: Add locking to GPIO calls
authorBen Dooks <ben-linux@fluff.org>
Wed, 19 May 2010 07:31:49 +0000 (16:31 +0900)
committerBen Dooks <ben-linux@fluff.org>
Thu, 20 May 2010 12:05:40 +0000 (21:05 +0900)
commit6a399547242df3b12f13d637a95f63eaa82f9385
treeaf4ea12f9734f6020d0fd1219d2077ed80cbb20d
parent1ae35de1c1ac81f8f31879316656b0a66616a4b0
ARM: S5P6440: Add locking to GPIO calls

Add the new locking calls to ensure that these are always exclusively
accessing the GPIO registers.

Fixes a possible race between two threads modifying the same GPIO bank,

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-s5p6440/gpio.c