[PATCH 5/6] staging: comedi: check command started by file being polled

2015-10-09 Thread Ian Abbott
Currently, the "poll" file operation checks if an asynchronous "read" (or "write" command is active on the "read" (or "write" subdevice, but does not consider whether the command was started from the file object being polled. Since that is the only file object able to read (or write) data, take

[PATCH 5/6] staging: comedi: check command started by file being polled

2015-10-09 Thread Ian Abbott
Currently, the "poll" file operation checks if an asynchronous "read" (or "write" command is active on the "read" (or "write" subdevice, but does not consider whether the command was started from the file object being polled. Since that is the only file object able to read (or write) data, take