Protected use of subdevice runflags with spinlock, since it is modified
authorFrank Mori Hess <fmhess@speakeasy.net>
Thu, 26 Jul 2007 20:36:55 +0000 (20:36 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Thu, 26 Jul 2007 20:36:55 +0000 (20:36 +0000)
commit8cca7ca597b1f7427ffd84069bf795f099bf0259
treecc7b525b31b215217b9231cc3a6520c73d2c81f1
parent11358bb1221b5841349c371f0b06129c629ec784
Protected use of subdevice runflags with spinlock, since it is modified
in comedi_event().  Replaced most usage of SDF_RUNNING in subdev_flags
with SRF_RUNNING in runflags so I don't have to protect subdev_flags
with a lock too.  Made mite_release_channel() always disarm and
reset mite channel.  Move ack/confirm of counter interrupts/errors
into ni_tio.  Added ni_tio_set_mite_channel(), which acquires
counter's spinlock before modifiying its mite channel.  Added
some missing locking of mite_channel_lock in ni_mio_common.c.
comedi/comedi_fops.c
comedi/comedi_ksyms.c
comedi/drivers/mite.c
comedi/drivers/ni_660x.c
comedi/drivers/ni_mio_common.c
comedi/drivers/ni_tio.c
comedi/drivers/ni_tio.h
include/linux/comedidev.h