From: Ian Abbott Date: Wed, 19 May 2010 15:59:40 +0000 (+0100) Subject: Staging: comedi: amplc_dio200: Protect counter subdevice with spinlock X-Git-Tag: v2.6.35-rc2~14^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee4063fa6bd801fa6ea045f23a2934db009b3dac;p=pandora-kernel.git Staging: comedi: amplc_dio200: Protect counter subdevice with spinlock The internal state of an 82C54 counter timer chip will get messed up if several threads read, write, configure, or check the status of the chip simultaneously. Protect the register access sequences with a spin lock. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed