commit | 65fdfedbc06169bc49fbbdab205659237a06568c | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Tue Jan 13 10:16:23 2015 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Jan 17 14:31:29 2015 -0800 |
tree | 58c334b222c6d6fbdfce046ca1605abcf2224ada | |
parent | d77bf9736b11671f803e830c5bead436a415d040 [diff] |
staging: comedi: pcl816: introduce pcl816_isadma_disable() According to Documentation/DMA-ISA-LPC.txt, the DMA lock needs to be claimed before using any of the ISA DMA routines. Introduce a helper function to disable the ISA DMA controller and add the necessary locking calls. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>