On 04/11/14 17:00, H Hartley Sweeten wrote:
This series converts the remaining comedi drivers to use the comedi_async 'scans_done' member to count the number of scans completed when counting scans with a cmd->stop_src of TRIG_COUNT. H Hartley Sweeten (13): staging: comedi: drivers: introduce comedi_nscans_left() staging: comedi: amplc_pci224: use comedi_async 'scans_done' to detect EOA staging: comedi: comedi_test: use comedi_async 'scans_done' to detect EOA staging: comedi: amplc_pci230: use comedi_async 'scans_done' to detect AO EOA staging: comedi: drivers: introduce comedi_nsamples_left() staging: comedi: amplc_pci230: use comedi_async 'scans_done' to detect AI EOA staging: comedi: usbduxfast: use comedi_async 'scans_done' to detect AI EOA staging: comedi: cb_pcidas: use comedi_async 'scans_done' to detect AI EOA staging: comedi: cb_pcidas: use comedi_async 'scans_done' to detect AO EOA staging: comedi: cb_pcidas64: use comedi_async 'scans_done' to detect AI EOA staging: comedi: cb_pcidas64: use comedi_async 'scans_done' to detect AO EOA staging: comedi: quatech_daqp_cs: use comedi_async 'scans_done' to detect EOA staging: comedi: das1800: use comedi_async 'scans_done' to detect EOA drivers/staging/comedi/comedidev.h | 4 + drivers/staging/comedi/drivers.c | 71 +++++++++++++++ drivers/staging/comedi/drivers/amplc_pci224.c | 43 +++------ drivers/staging/comedi/drivers/amplc_pci230.c | 110 ++++++++--------------- drivers/staging/comedi/drivers/cb_pcidas.c | 43 +++------ drivers/staging/comedi/drivers/cb_pcidas64.c | 95 +++++--------------- drivers/staging/comedi/drivers/comedi_test.c | 17 +--- drivers/staging/comedi/drivers/das1800.c | 52 ++++------- drivers/staging/comedi/drivers/quatech_daqp_cs.c | 27 +++--- drivers/staging/comedi/drivers/usbduxfast.c | 19 ++-- 10 files changed, 197 insertions(+), 284 deletions(-)
Looks fine apart from a glaring bug in PATCH 01. For patches 02 to 13... Reviewed-by: Ian Abbott <abbotti@xxxxxxxxx> -- -=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@xxxxxxxxx> )=- -=( Web: http://www.mev.co.uk/ )=- _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel