[PATCH 00/35] staging: comedi: sample types are unsigned

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

 



Sample values in comedi are generally represented as unsigned values.
Some of the comedi buffer handling functions and various drivers use
signed short values in places to hold or manipulate 16-bit (or less)
sample values.  Be a bit more consistent in the use of unsigned types to
handle sample values.

These patches are all pretty independent from one another but have a
related theme.

 drivers/staging/comedi/comedi_buf.c                |  8 ++---
 drivers/staging/comedi/comedidev.h                 |  4 +--
 drivers/staging/comedi/drivers/8255.c              |  2 +-
 .../staging/comedi/drivers/addi-data/addi_common.h |  2 +-
 .../comedi/drivers/addi-data/hwdrv_apci3120.c      |  2 +-
 drivers/staging/comedi/drivers/adl_pci9111.c       |  4 +--
 drivers/staging/comedi/drivers/adl_pci9118.c       | 18 +++++------
 drivers/staging/comedi/drivers/adv_pci1710.c       |  8 ++---
 drivers/staging/comedi/drivers/adv_pci1723.c       |  2 +-
 drivers/staging/comedi/drivers/amplc_pci224.c      |  4 +--
 drivers/staging/comedi/drivers/amplc_pci230.c      | 21 ++++++-------
 drivers/staging/comedi/drivers/cb_pcidas.c         |  6 ++--
 drivers/staging/comedi/drivers/cb_pcidas64.c       |  2 +-
 drivers/staging/comedi/drivers/comedi_fc.h         |  2 +-
 drivers/staging/comedi/drivers/das16.c             |  2 +-
 drivers/staging/comedi/drivers/das16m1.c           |  6 ++--
 drivers/staging/comedi/drivers/das1800.c           |  9 +++---
 drivers/staging/comedi/drivers/dt282x.c            | 12 ++++----
 drivers/staging/comedi/drivers/dt3000.c            |  2 +-
 drivers/staging/comedi/drivers/fl512.c             |  3 +-
 drivers/staging/comedi/drivers/icp_multi.c         |  4 +--
 drivers/staging/comedi/drivers/me4000.c            | 16 +++++-----
 drivers/staging/comedi/drivers/ni_at_a2150.c       |  4 +--
 drivers/staging/comedi/drivers/ni_labpc.c          |  2 +-
 drivers/staging/comedi/drivers/ni_mio_common.c     | 18 +++++------
 drivers/staging/comedi/drivers/ni_pcidio.c         | 12 ++++----
 drivers/staging/comedi/drivers/ni_stc.h            |  2 +-
 drivers/staging/comedi/drivers/pcl711.c            |  2 +-
 drivers/staging/comedi/drivers/pcl812.c            |  9 +++---
 drivers/staging/comedi/drivers/pcl816.c            | 12 ++++----
 drivers/staging/comedi/drivers/pcl818.c            | 11 ++++---
 drivers/staging/comedi/drivers/pcmmio.c            |  7 ++---
 drivers/staging/comedi/drivers/pcmuio.c            |  4 +--
 drivers/staging/comedi/drivers/quatech_daqp_cs.c   |  3 +-
 drivers/staging/comedi/drivers/rtd520.c            | 31 ++++++++-----------
 drivers/staging/comedi/drivers/s626.c              | 22 +++++---------
 drivers/staging/comedi/drivers/usbdux.c            | 35 +++++++++++-----------
 drivers/staging/comedi/drivers/usbduxsigma.c       | 20 ++++++-------
 38 files changed, 157 insertions(+), 176 deletions(-)
_______________________________________________
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