]> git.baikalelectronics.ru Git - kernel.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)
commit27e16182ad8c8cea5c8a38d0741380bcb059abb2
tree3e3cc65c864f7d0e9e30e6a3c5408c51067d5ba5
parent577ac1d8580bccbc7deaa2dfc4563257289b8b2a
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