[PATCH 01/10] staging: comedi: remain busy until read end-of-file

2015-10-12 Thread Ian Abbott
If a COMEDI subdevice is busy handling an asynchronous command in the "read" direction, then after the command has terminated itself, the "read" file operation handler, `comedi_read()` should keep the subdevice busy until all available data has been read and it has returned 0 to indicate an

[PATCH 01/10] staging: comedi: remain busy until read end-of-file

2015-10-12 Thread Ian Abbott
If a COMEDI subdevice is busy handling an asynchronous command in the "read" direction, then after the command has terminated itself, the "read" file operation handler, `comedi_read()` should keep the subdevice busy until all available data has been read and it has returned 0 to indicate an