commit | 639d64456e20cbfc866b18dc03cf9f9babc9c7cd | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurentp@cse-semaphore.com> | Tue Aug 19 14:20:23 2008 +0200 |
committer | Kumar Gala <galak@kernel.crashing.org> | Thu Aug 21 00:15:54 2008 -0500 |
tree | 0e593d89118b44a500a2995af84d0f4e988affc5 | |
parent | 61a4e9e91dd3916ef91aa4899b7271bba0248677 [diff] |
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 <laurentp@cse-semaphore.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>