From: H Hartley Sweeten Date: Tue, 13 Jan 2015 17:16:25 +0000 (-0700) Subject: staging: comedi: dt282x: introduce dt282x_isadma_disable() X-Git-Tag: fixes-v4.0-rc1~99^2~395 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7877445b5c1bb10078ef72db65df1553f4cbd73e;p=pandora-kernel.git staging: comedi: dt282x: introduce dt282x_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