summaryrefslogtreecommitdiffstats
path: root/drivers/staging/comedi/comedi_fops.c
diff options
context:
space:
mode:
authorIan Abbott2010-05-19 17:59:40 +0200
committerGreg Kroah-Hartman2010-06-04 22:38:53 +0200
commitee4063fa6bd801fa6ea045f23a2934db009b3dac (patch)
treef23288b2f1900fa34950381a2c63ab11f42e4391 /drivers/staging/comedi/comedi_fops.c
parentStaging: comedi: adv_pci_dio: Support Advantech PCI-1735U (diff)
downloadkernel-qcow2-linux-ee4063fa6bd801fa6ea045f23a2934db009b3dac.tar.gz
kernel-qcow2-linux-ee4063fa6bd801fa6ea045f23a2934db009b3dac.tar.xz
kernel-qcow2-linux-ee4063fa6bd801fa6ea045f23a2934db009b3dac.zip
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 <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/comedi/comedi_fops.c')
0 files changed, 0 insertions, 0 deletions