Revision d261154057c27f6c1d256b6198b0ad08733f1758 authored by Ian Abbott on 19 May 2010, 16:22:41 UTC, committed by Greg Kroah-Hartman on 04 June 2010, 20:38:53 UTC
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>
1 parent ee4063f
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 1.2 KB |
Makefile | -rw-r--r-- | 520 bytes |
caif_config_util.c | -rw-r--r-- | 2.3 KB |
caif_dev.c | -rw-r--r-- | 9.9 KB |
caif_socket.c | -rw-r--r-- | 30.1 KB |
cfcnfg.c | -rw-r--r-- | 12.3 KB |
cfctrl.c | -rw-r--r-- | 16.5 KB |
cfdbgl.c | -rw-r--r-- | 1.2 KB |
cfdgml.c | -rw-r--r-- | 2.8 KB |
cffrml.c | -rw-r--r-- | 3.7 KB |
cfmuxl.c | -rw-r--r-- | 6.2 KB |
cfpkt_skbuff.c | -rw-r--r-- | 13.0 KB |
cfrfml.c | -rw-r--r-- | 2.9 KB |
cfserl.c | -rw-r--r-- | 4.5 KB |
cfsrvl.c | -rw-r--r-- | 5.0 KB |
cfutill.c | -rw-r--r-- | 3.2 KB |
cfveil.c | -rw-r--r-- | 2.9 KB |
cfvidl.c | -rw-r--r-- | 1.8 KB |
chnl_net.c | -rw-r--r-- | 11.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...