linux/drivers/staging
Spencer E. Olson 4dc2a3cd27 staging: comedi: clarify/unify macros for NI macro-defined terminals
Uses a single macro to define multiple macros that represent a series of
terminals for NI devices.  This patch also redefines NI_MAX_COUNTERS as the
maximum number of counters possible on NI devices (instead of the maximum
index of the counters).  This was a little confusing and caused a bug in
commit 347e244884 ("staging: comedi: tio: implement global tio/ctr routing")
when setting/reading registers for counter terminals.

Fixes: 347e244884 ("staging: comedi: tio: implement global tio/ctr routing")
Signed-off-by: Spencer E. Olson <olsonse@umich.edu>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-11-07 13:08:28 +01:00
..
android mm: remove CONFIG_HAVE_MEMBLOCK 2018-10-31 08:54:15 -07:00
axis-fifo staging: axis-fifo: remove duplicated include from axis-fifo.c 2018-10-09 15:13:23 +02:00
board
clocking-wizard staging: clocking-wizard: match parenthesis indentation 2018-10-09 14:57:33 +02:00
comedi staging: comedi: clarify/unify macros for NI macro-defined terminals 2018-11-07 13:08:28 +01:00
emxx_udc staging: emxx_udc: Remove unused device_desc declaration 2018-10-09 15:13:24 +02:00
erofs Staging/IIO patches for 4.20-rc1 2018-10-29 10:38:10 -07:00
fbtft staging: fbtft: Prefer using the BIT macro 2018-10-03 11:36:08 -07:00
fsl-dpaa2 Staging/IIO patches for 4.20-rc1 2018-10-29 10:38:10 -07:00
fwserial
gasket staging: gasket: Fix sparse "incorrect type in assignment" warnings. 2018-10-19 21:12:29 +02:00
gdm724x
goldfish
greybus Staging/IIO patches for 4.20-rc1 2018-10-29 10:38:10 -07:00
gs_fpgaboot
iio Staging/IIO patches for 4.20-rc1 2018-10-29 10:38:10 -07:00
ks7010 staging: ks7010: Remove extra blank line 2018-10-19 21:10:45 +02:00
media drivers: staging: cedrus: find ctx before dereferencing it ctx 2018-11-07 13:08:28 +01:00
most staging: most: usb: add release function for DCI device 2018-10-02 15:18:36 -07:00
mt29f_spinand mtd: rawnand: Deprecate ->{set,get}_features() hooks 2018-10-03 11:12:25 +02:00
mt7621-dma staging: mt7621-dma: Delete unused define 2018-10-10 13:15:23 +02:00
mt7621-dts
mt7621-eth Staging/IIO patches for 4.20-rc1 2018-10-29 10:38:10 -07:00
mt7621-mmc staging: mt7621-mmc: Use BIT macro instead of explicit shifting in dbg.h 2018-10-14 13:30:34 +02:00
mt7621-pci staging: mt7621-pci: Prefer using the BIT macro 2018-10-09 14:59:39 +02:00
mt7621-pinctrl
mt7621-spi
netlogic
nvec
octeon
octeon-usb
olpc_dcon staging: olpc_dcon: add a missing dependency 2018-09-20 12:28:02 +02:00
pi433
rtl8188eu staging: rtl8188eu: core: Use sizeof(*p) instead of sizeof(struct P) for memory allocation 2018-10-19 21:10:45 +02:00
rtl8192e Staging/IIO patches for 4.20-rc1 2018-10-29 10:38:10 -07:00
rtl8192u Staging/IIO patches for 4.20-rc1 2018-10-29 10:38:10 -07:00
rtl8712 staging: rtl8712: add SPDX identifiers 2018-10-03 11:36:09 -07:00
rtl8723bs staging: rtl8723bs: Fix the return value in case of error in 'rtw_wx_read32()' 2018-11-07 13:08:28 +01:00
rtlwifi staging: rtlwifi: phydm: fix spelling mistake "Abnrormal" -> "Abnormal" 2018-10-14 13:31:53 +02:00
rts5208 staging: rts5208: Remove unnecessary braces {} 2018-09-25 21:10:36 +02:00
sm750fb staging: sm750fb: Remove space after cast 2018-10-09 14:57:33 +02:00
speakup staging: speakup: Add a pair of braces 2018-10-19 21:10:45 +02:00
unisys
vboxvideo Staging/IIO patches for 4.20-rc1 2018-10-29 10:38:10 -07:00
vc04_services staging: vc04_services: Drop no longer needed headers 2018-10-09 15:24:21 +02:00
vme
vt6655 staging: vt6655: Remove space after cast 2018-10-09 14:59:58 +02:00
vt6656
wilc1000 staging: wilc1000: prefer 'help' in KConfig 2018-10-11 12:10:32 +02:00
wlan-ng staging: wlan-ng: Replace long int with long 2018-10-19 21:10:45 +02:00
xgifb
Kconfig staging: dgnc: delete the driver 2018-10-02 15:14:14 -07:00
Makefile staging: dgnc: delete the driver 2018-10-02 15:14:14 -07:00