From: Ian Abbott Date: Wed, 19 May 2010 17:09:49 +0000 (+0100) Subject: Staging: comedi: COMEDI_BUFINFO with no async - report no bytes read or written X-Git-Tag: v2.6.35-rc2~14^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4772c018e35b6a21e8a8bde54568b59998540a16;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed