patch from Ian Abbot <abbotti@mev.co.uk>:
authorFrank Mori Hess <fmhess@speakeasy.net>
Sun, 27 Feb 2005 22:05:51 +0000 (22:05 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Sun, 27 Feb 2005 22:05:51 +0000 (22:05 +0000)
commit9a12cd06b9b63714ddfa1c0b85e3433442b1b4a8
treed4f7cec868d041e71710cd616e730413db6400ea
parente2266694b54d3ca44a2ef1821fe40f17a70a02f7
patch from Ian Abbot <abbotti@mev.co.uk>:

I think it's probably a bad idea for my amplc_dio200 driver to call
comedi_event() while it's holding a spinlock.  The call to comedi_event
could call a kcomedilib client's callback function, which might do
something that requires the same spinlock, leading to a deadlock.

The attached patch moves the calls to comedi_event() to a safe point
after the spinlock is released.
comedi/drivers/amplc_dio200.c