diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2010-05-19 16:59:40 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-06-04 13:38:53 -0700 |
commit | ee4063fa6bd801fa6ea045f23a2934db009b3dac (patch) | |
tree | f23288b2f1900fa34950381a2c63ab11f42e4391 /drivers/media | |
parent | d4da77a73cb9cc9a1a349daa1a2723505b086e2d (diff) |
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/media')
0 files changed, 0 insertions, 0 deletions