]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: addi_apci_3120: flip 'us_UseDma' test in apci3120_cyclic_ai()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 4 Nov 2014 17:54:48 +0000 (10:54 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Nov 2014 17:34:02 +0000 (09:34 -0800)
commit5c66a77e1d1da92f4b42c069d6591ecc41dbe6ba
tree07d85fb7a6da5f3b7ce6d246a503bb5a636babdf
parent76931af2009ef8e81fd30addf42a39d0265c45f5
staging: comedi: addi_apci_3120: flip 'us_UseDma' test in apci3120_cyclic_ai()

For aesthetics, flip this test and do the DMA setup first.

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