[PATCH 02/10] staging: comedi: don't consider "unmunged" data when becoming non-busy

2015-10-12 Thread Ian Abbott
If an asynchronous "read" command is no longer running but the subdevice is still busy, it becomes non-busy once there is no more data available in the buffer. Some or all of the data written to the buffer might not have been "munged" yet, and it cannot be read until it has been munged by the

[PATCH 02/10] staging: comedi: don't consider "unmunged" data when becoming non-busy

2015-10-12 Thread Ian Abbott
If an asynchronous "read" command is no longer running but the subdevice is still busy, it becomes non-busy once there is no more data available in the buffer. Some or all of the data written to the buffer might not have been "munged" yet, and it cannot be read until it has been munged by the