From: H Hartley Sweeten Date: Fri, 20 Jun 2014 20:12:41 +0000 (-0700) Subject: staging: comedi: dt282x: IRQ and DMA are needed for async command support X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~1544 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb3d0d3996fe5c8c4fd7063b4bea890767469cb1;p=pandora-kernel.git staging: comedi: dt282x: IRQ and DMA are needed for async command support This driver requires an IRQ and 2 DMA channels in order to execute async commands. Modify the (*attach) so that command support is only hooked up if DMA is available. This allows removing the extra checks in the command support functions. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed