From: Matt Carlson Date: Wed, 13 Jul 2011 09:27:31 +0000 (+0000) Subject: tg3: Create critical section around GPIO toggling X-Git-Tag: v3.1-rc1~316^2~157 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f5c8f8317d37045ffc7ea21dab8319a53c1ae57;p=pandora-kernel.git tg3: Create critical section around GPIO toggling The code that performs the power source switching will need to consider the status of the other devices before making any switches. The status updates and power source switching will need to be an atomic operation, so a critical section will be needed. This patch establishes the critical section through a CPMU mutex. Signed-off-by: Matt Carlson Signed-off-by: David S. Miller --- Reading git-diff-tree failed