cpm2: Fix race condition in CPM2 GPIO library.
authorLaurent Pinchart <laurentp@cse-semaphore.com>
Tue, 19 Aug 2008 12:20:23 +0000 (14:20 +0200)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 21 Aug 2008 05:15:54 +0000 (00:15 -0500)
The CPM2 GPIO library code uses the non thread-safe clrbits32/setbits32
macros. This patch protects them with a spinlock.

Signed-off-by: Laurent Pinchart <laurentp@cse-semaphore.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

No differences found