linux/drivers/staging
Ian Abbott d261154057 Staging: comedi: don't write to buffer if command finished
For write(), any data copied to the data buffer after the previously
set up streaming acquisition command has finished won't be used, but a
non-empty write() does not currently return 0 (or -EPIPE on error) after
the command has finished until the data buffer has been filled up.
Change this behavior to return 0 (or -EPIPE) any time after the command
has finished, without bothering to fill up the buffer with more useless
data.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-06-04 13:38:53 -07:00
..
adis16255
asus_oled
batman-adv
comedi Staging: comedi: don't write to buffer if command finished 2010-06-04 13:38:53 -07:00
crystalhd
cx25821 Merge staging-next tree into Linus's latest version 2010-05-21 12:48:55 -07:00
cxt1e1
dream i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
dt3155 Merge staging-next tree into Linus's latest version 2010-05-21 12:48:55 -07:00
dt3155v4l
echo
et131x Merge staging-next tree into Linus's latest version 2010-05-21 12:48:55 -07:00
frontier
go7007 i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
hv Merge staging-next tree into Linus's latest version 2010-05-21 12:48:55 -07:00
iio i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
line6
memrar
mrst-touchscreen Staging: mid: Intel MID touch screen driver 2010-06-04 13:38:51 -07:00
octeon
otus
panel
phison
pohmelfs Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6 2010-05-30 09:11:11 -07:00
quatech_usb2
ramzswap
rar_register
rt2860 staging: rt2860: use new hex_to_bin() method 2010-05-25 08:07:05 -07:00
rt2870
rt3070
rtl8187se
rtl8192e
rtl8192su Merge staging-next tree into Linus's latest version 2010-05-21 12:48:55 -07:00
rtl8192u
samsung-laptop
sep
serqt_usb2
slicoss
sm7xx
ti-st
tm6000
udlfb Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2010-05-21 15:26:46 -07:00
usbip Merge staging-next tree into Linus's latest version 2010-05-21 12:48:55 -07:00
vme Merge staging-next tree into Linus's latest version 2010-05-21 12:48:55 -07:00
vt6655 Merge staging-next tree into Linus's latest version 2010-05-21 12:48:55 -07:00
vt6656 Merge staging-next tree into Linus's latest version 2010-05-21 12:48:55 -07:00
winbond Merge staging-next tree into Linus's latest version 2010-05-21 12:48:55 -07:00
wlags49_h2 Merge staging-next tree into Linus's latest version 2010-05-21 12:48:55 -07:00
wlags49_h25
wlan-ng
xgifb staging: Add framebuffer driver for XGI chipsets 2010-06-04 13:38:51 -07:00
Kconfig Staging: mid: Intel MID touch screen driver 2010-06-04 13:38:51 -07:00
Makefile Staging: mid: Intel MID touch screen driver 2010-06-04 13:38:51 -07:00
staging.c