linux-stable/drivers/staging
Ian Abbott be611a1de3 staging: comedi: COMEDI_BUFINFO: terminate "write" command when stopped
The `COMEDI_BUFINFO` ioctl is used to advance the current position in
the buffer by a specified amount (which can be 0) and get the current
position.  An asynchronous command in the "read" direction is terminated
automatically once it has stopped and information about the final
position and error has been reported back to the user.  That is not
currently done for commands in the "write" direction.  Change it to
terminate the command in the "write" direction automatically.  If the
command stopped with an error, report an `EPIPE` error back to the user,
otherwise just report the final buffer position back to the user.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-20 15:25:58 -08:00
..
android staging: android: Remove unneeded else following a return 2016-02-20 15:24:51 -08:00
board Staging: board: Blank lines aren't necessary before a close brace 2016-02-07 19:57:22 -08:00
clocking-wizard Staging: clocking-wizard: CHECK:Please use a blank line 2016-02-07 20:05:31 -08:00
comedi staging: comedi: COMEDI_BUFINFO: terminate "write" command when stopped 2016-02-20 15:25:58 -08:00
dgnc staging: dgnc: convert to wait_event_interruptible_timeout 2016-02-11 19:51:46 -08:00
emxx_udc staging: emxx_udc: Remove parentheses around the right hand side of assignment 2016-02-11 20:05:35 -08:00
fbtft staging: fbtft: Fix block comment coding style 2016-02-20 15:09:57 -08:00
fsl-mc staging: fsl-mc: Remove unneeded else following a return 2016-02-20 15:14:59 -08:00
fwserial staging: fwserial: (coding-style) rewrite comparisons to NULL as "!fifo->data" 2016-02-07 19:36:14 -08:00
gdm72xx staging: gdm72xx: compress return logic into one line 2016-02-11 20:00:30 -08:00
gdm724x staging: gdm724x: gdm_mux: Remove create_workqueue() 2016-02-14 16:52:15 -08:00
goldfish staging: goldfish: goldfish_nand: Return correct error code 2016-02-14 16:52:53 -08:00
gs_fpgaboot Staging: gs_fpgaboot: fix data types in gs_fpgaboot.c 2016-02-07 20:07:29 -08:00
iio staging: iio: resolver: fix comparison to NULL 2016-02-20 14:46:35 -08:00
lustre Staging: lustre: lnet: Remove and rename struct typedef lstcon_session_t 2016-02-20 14:39:54 -08:00
media staging: media: davinci_vpfe: remove ret variable in switch statements 2016-02-20 14:56:47 -08:00
most staging: most: hdm-usb: Remove create_workqueue() 2016-02-20 15:02:06 -08:00
mt29f_spinand staging: mt29f_spinand: Remove unneeded else following return 2016-02-20 15:24:51 -08:00
netlogic staging: netlogic: Return zero pointer after failed kmalloc 2016-02-20 14:59:37 -08:00
nvec Staging: nvec: Modify the nvec_write_sync method to return the error code 2016-02-14 16:52:15 -08:00
octeon Staging: octeon: Remove blank lines after open braces 2016-02-20 15:14:14 -08:00
octeon-usb staging: octeon-usb: make driver name to match the file name 2016-02-20 15:14:01 -08:00
rdma staging: rdma: hfi1: Use offset_in_page macro 2016-02-20 14:54:05 -08:00
rtl8188eu staging: rtl8188eu: core: Remove unnecessary braces 2016-02-20 15:06:51 -08:00
rtl8192e staging: rtl8192e: Drop useless initialisation 2016-02-20 15:12:06 -08:00
rtl8192u staging: rtl8192u: Remove create_workqueue() 2016-02-20 15:09:57 -08:00
rtl8712 staging: rtl8712: Replace explicit NULL comparison 2016-02-20 15:18:33 -08:00
rtl8723au staging: rtl8723au: hal: Use macro ARRAY_SIZE 2016-02-20 15:04:11 -08:00
rts5208 staging: rts5208: Place constants on the right side of comparisons 2016-02-14 16:44:06 -08:00
skein
slicoss staging: slicoss: Align #define constants 2016-02-11 19:50:11 -08:00
sm750fb staging: sm750fb: change definition of CRT_FB_ADDRESS fields 2016-02-15 18:26:17 -08:00
speakup staging: speakup: Fix block comment style 2016-02-14 16:49:09 -08:00
ste_rmi4 staging: ste_rmi4: avoid unused function warnings 2016-02-07 20:03:50 -08:00
unisys staging: unisys: Modify boolean assignment 2016-02-11 19:37:15 -08:00
vme
vt6655 staging: vt6655: Add missing blank line after declaration 2016-02-14 16:58:33 -08:00
vt6656 staging: vt6656: simplify tests of successful urb status 2016-02-20 15:22:18 -08:00
wilc1000 Staging: wilc1000: Remove and rename struct typedefs from .c files 2016-02-20 14:43:48 -08:00
wlan-ng staging: wlan-ng: fix NULL comparison 2016-02-20 14:53:27 -08:00
xgifb staging: xgifb: Fix comment style 2016-02-14 17:01:26 -08:00
Kconfig
Makefile