]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: addi_apci_3120: move DMA init code to apci3120_init_dma()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 4 Nov 2014 17:55:05 +0000 (10:55 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Nov 2014 17:34:03 +0000 (09:34 -0800)
commit65260285a23304fa1c1ee2e570d5542b6931bcde
tree5767440b9931a478d54c666a6fe389b9b30c26d3
parent798cf4cd0c69ceb64b136106b15b93ce8c6ec78a
staging: comedi: addi_apci_3120: move DMA init code to apci3120_init_dma()

Move the common code used to initialize DMA to apci3120_init_dma().

This follows the programming procedure described in the APCI-3120
documentation.

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