Use the comedi_async 'scans_done' to detect the EOA and tidy up the DMA code a bit. H Hartley Sweeten (4): staging: comedi: adl_pci9118: use comedi_async 'scans_done' to detect EOA staging: comedi: adl_pci9118: absorb move_block_from_dma() staging: comedi: adl_pci9118: use comedi_bytes_to_samples() staging: comedi: adl_pci9118: switch DMA buffers after writing samples drivers/staging/comedi/drivers/adl_pci9118.c | 69 +++++++--------------------- 1 file changed, 16 insertions(+), 53 deletions(-) -- 2.0.3 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel