From: H Hartley Sweeten Date: Tue, 13 Jan 2015 17:16:34 +0000 (-0700) Subject: staging: comedi: pcl812: introduce pcl812_isadma_disable() X-Git-Tag: fixes-v4.0-rc1~99^2~386 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0156b06a6b3ee8c42c7c404a2a8a5921b74c69f5;p=pandora-kernel.git staging: comedi: pcl812: introduce pcl812_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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed