staging: comedi: addi_apci_3120: factor DMA setup out of apci3120_cyclic_ai()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 4 Nov 2014 17:54:46 +0000 (10:54 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Nov 2014 17:34:02 +0000 (09:34 -0800)
commite451dfeb4c205f74b3bfc35d58fd1a17dff490ed
tree497147c303e99ec5a8f6e2be028e82d7e9348d78
parent169f35e82ce6ba0068ecaf3671342a8201c99c32
staging: comedi: addi_apci_3120: factor DMA setup out of apci3120_cyclic_ai()

For aesthetics, factor the DMA setup code out of apci3120_cyclic_ai().

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/addi-data/hwdrv_apci3120.c