diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2010-05-19 18:09:49 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-06-04 13:38:53 -0700 |
commit | 4772c018e35b6a21e8a8bde54568b59998540a16 (patch) | |
tree | 15aa77b0981f17e100f8303a4754ad2b5752eeee /scripts/basic/docproc.c | |
parent | d261154057c27f6c1d256b6198b0ad08733f1758 (diff) |
Staging: comedi: COMEDI_BUFINFO with no async - report no bytes read or written
When the COMEDI_BUFINFO ioctl is used on a subdevice without
asynchronous streaming command support, set 'bytes_read = 0' and
'bytes_written = 0' in the buffer info returned back to the user.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions