]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: adl_pci9118: enable DMA in common code path
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 9 Sep 2014 20:05:51 +0000 (13:05 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Sep 2014 21:34:25 +0000 (14:34 -0700)
commitd900197e9e0ee372a6eabce6a8a98ec8c4174c2b
tree3e3cc65c864f7d0e9e30e6a3c5408c51067d5ba5
parent4cf13a1dc89b0f5e23ec5d33905c91e240e1f831
staging: comedi: adl_pci9118: enable DMA in common code path

The pci9118_ai_docmd_dma() function enables the DMA bit in the ai control
register for all acquisition modes. For aesthetics, move the enable of
this bit into the (*do_cmd).

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/adl_pci9118.c