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