From: H Hartley Sweeten Date: Tue, 9 Sep 2014 20:05:28 +0000 (-0700) Subject: staging: comedi: adl_pci9118: always try to use interrupt and DMA X-Git-Tag: fixes-for-v3.18-merge-window~15^2~542 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb578327814da1d9c91dc22c3e3f9a3ed6d7c40b;p=pandora-kernel.git staging: comedi: adl_pci9118: always try to use interrupt and DMA This driver currently supports both the (*auto_attach) and legacy (*attach) mechanisms. The (*auto_attach) always tries to use the interrupt and DMA to support async commands with the analog input subdevice. The legacy (*attach) only enables them depending on a user option that is passed to the (*attach). The 'default' (i.e. option == 0) is to enable both the interrupt and DMA. Simplify the attach by always trying to enable the interrupt and DMA. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed