ni_pcidio: Grab MITE channel spinlock while preparing and arming DMA.
authorIan Abbott <abbotti@mev.co.uk>
Mon, 18 Jul 2011 11:08:38 +0000 (12:08 +0100)
committerIan Abbott <abbotti@mev.co.uk>
Mon, 18 Jul 2011 11:08:38 +0000 (12:08 +0100)
commit4d052d4d877cfc8edfde30935ae0143a6e7a2942
tree971dcf35a333f3aa438106282447de128fd36745
parent8736d0249869fe87604c38ca07bc7252d8bbccda
ni_pcidio: Grab MITE channel spinlock while preparing and arming DMA.

When setting up the DMA for 'read' streaming acquisition command, grab
the MITE channel spinlock before preparing and arming the DMA.

Change inspired by ni_ai_setup_MITE_dma() in ni_mio_common.c.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
comedi/drivers/ni_pcidio.c