From: H Hartley Sweeten Date: Tue, 13 Jan 2015 17:16:39 +0000 (-0700) Subject: staging: comedi: ni_labpc_isadma: introduce labpc_isadma_disable() X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~83^2~381 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f02b081da44370d5c88340501e7a12ef9076a34;p=pandora-kernel.git staging: comedi: ni_labpc_isadma: introduce labpc_isadma_disable() Introduce a helper function to disable and the ISA DMA controller and return the residue as described in Documentation/DMA-ISA-LPC.txt. The DMA will always be disabled when labpc_setup_dma() is called. Remove the unnecessary disable in that function. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed