From: Laurent Pinchart Date: Tue, 19 Aug 2008 12:20:23 +0000 (+0200) Subject: cpm2: Fix race condition in CPM2 GPIO library. X-Git-Tag: v2.6.27-rc5~29^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=639d64456e20cbfc866b18dc03cf9f9babc9c7cd;p=pandora-kernel.git cpm2: Fix race condition in CPM2 GPIO library. 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 Signed-off-by: Kumar Gala --- Reading git-diff-tree failed