[PATCH v2 00/13] staging: comedi: convert more drivers to use 'scans_done'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

v2: Fix PATCH 01/13 as pointed out by Ian Abbott

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(-)

-- 
2.0.3

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux