linux-kernel-test/drivers/staging
H Hartley Sweeten 7f340859f2 staging: comedi: das800: tidy up das800_interrupt()
Rename the CamelCase variable 'dataPoint'.

Cleanup some of the comments and fix the > 80 char lines.

Use the das800_ai_get_sample() helper to get the analog input data.

Change the fifo flags into bools and make sure to check for the
fifo overflow while reading the samples. This also fixes the overflow
detection for 12-bit resolutions. In the current code the 'dataPoint'
value has been shifted and masked. This could result in fifo_overflow
being invalidly true.

Remove the need for the 'thisboard' pointer by using the subdevice
'maxdata' to determine the sample size.

The devpriv->forever flag is really a bool. Treat it as such.

Remove the comedi_error() messages. The user will get the error
condition back in the async event. The message is just added noise.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-04-23 10:41:51 -07:00
..
android staging: android: binder: replace IOCTL types with user-exportable types 2013-04-11 08:51:51 -07:00
asus_oled
bcm
ced1401
comedi staging: comedi: das800: tidy up das800_interrupt() 2013-04-23 10:41:51 -07:00
cptm1217
crystalhd
csr
cxt1e1
dgrp staging: dgrp: info leak in dgrp_dpa_ioctl() 2013-04-22 10:25:46 -07:00
dwc2 staging: dwc2: add platform device bindings 2013-04-23 10:37:55 -07:00
echo
et131x staging: et131x: cancel_work when module gets unloaded 2013-04-11 13:07:05 -07:00
frontier
ft1000
fwserial
gdm72xx staging: gdm72xx: cancel work when driver unloads 2013-04-15 10:06:33 -07:00
goldfish
iio
imx-drm staging: video: imx: Add BGR666 support for parallel display 2013-04-23 10:38:49 -07:00
keucr
line6
media
netlogic
nvec staging: nvec: allow modular build 2013-04-23 10:34:20 -07:00
octeon
olpc_dcon
ozwpan staging/ozwpan: info leak in oz_cdev_ioctl() 2013-04-22 10:25:46 -07:00
panel
phison
quickstart
rtl8187se
rtl8192e
rtl8192u
rtl8712
rts5139 staging: rts5129: re-use kbasename() 2013-04-19 11:17:15 -07:00
sb105x
sbe-2t3e3
sep
serqt_usb2
silicom
slicoss
sm7xxfb
speakup
ste_rmi4
ti-soc-thermal
tidspbridge
usbip
vme
vt6655
vt6656
winbond
wlags49_h2
wlags49_h25
wlan-ng
xgifb
zcache staging: zcache/debug: fix coding style 2013-04-13 06:29:00 -07:00
zram
zsmalloc staging/zsmalloc: don't use pgtable-mapping from modules 2013-04-23 10:34:20 -07:00
Kconfig staging: net: remove pc300 driver 2013-04-19 11:15:20 -07:00
Makefile staging: net: remove pc300 driver 2013-04-19 11:15:20 -07:00
staging.c